Log types

Wikifier::Wiki log types and attributes.

login_fail

Denied user credentials for write authentication.

  • username

  • crypt - optional, the crypt method used by this user. not available when reason is username

  • reason - why the login was denied. one of:

    • username - user doesn't exist

    • crypt - crypt function failed or unavailable

    • password - password was wrong

login

User logged in for write authentication.

  • username

  • crypt - the crypt method used to login

  • name - optional, user display name

  • email - optional, user email address

page_write

Page source was written.

  • user - optional, object with info on user responsible. none are guaranteed to be present, nor is the object itself

    • username

    • name - display name

    • email

  • is_model - true if the file written is a model

  • file - file path, relative to dir.wiki

  • message - commit message

  • commit - sha commit ID

page_write_fail

Page source write failed.

  • user - optional, object with info on user responsible. none are guaranteed to be present, nor is the object itself

    • username

    • name - display name

    • email

  • is_model - true if the file we tried to write is a model

  • file - file path, relative to dir.wiki

  • message - commit message

  • errors - array of string error messages

page_delete

Page was deleted.

  • user - optional, object with info on user responsible. none are guaranteed to be present, nor is the object itself

    • username

    • name - display name

    • email

  • is_model - true if the file deleted was a model

  • file - file path, relative to dir.wiki

  • message - commit message

  • commit - sha commit ID

page_delete_fail

Page delete failed.

  • user - optional, object with info on user responsible. none are guaranteed to be present, nor is the object itself

    • username

    • name - display name

    • email

  • is_model - true if the file we tried to delete is a model

  • file - file path, relative to dir.wiki

  • message - commit message

  • errors - array of string error messages

page_move

Page was moved.

  • user - optional, object with info on user responsible. none are guaranteed to be present, nor is the object itself

    • username

    • name - display name

    • email

  • is_model - true if the file moved is a model

  • src_file - source file path, relative to dir.wiki

  • dest_file - destination file path, relative to dir.wiki

  • src_name - old page name

  • dest_name - new page name

  • message - commit message

  • commit - sha commit ID

page_move_failed

Page move failed.

  • user - optional, object with info on user responsible. none are guaranteed to be present, nor is the object itself

    • username

    • name - display name

    • email

  • is_model - true if the file we tried to move is a model

  • src_file - source file path, relative to dir.wiki

  • dest_file - destination file path to which we tried moving, relative to dir.wiki

  • src_name - old page name

  • dest_name - page name to which we tried moving

  • errors - array of string error messages