API:Logevents

Prefix: le Required Rights: None POST Only? No  Get events from logs

Parameters

 * action – Filter log actions to only this type. Overrides letype.
 * Type: one of block/block, block/unblock, block/reblock, protect/protect, protect/modify, protect/unprotect, protect/move_prot, rights/rights, rights/disable</tt>, delete/delete</tt>, delete/restore</tt>, delete/revision</tt>, delete/event</tt>, upload/upload</tt>, upload/overwrite</tt>, upload/revert</tt>, move/move</tt>, move/move_redir</tt>, move/move_rev</tt>, import/upload</tt>, import/interwiki</tt>, merge/merge</tt>, suppress/revision</tt>, suppress/file</tt>, <tt>suppress/event</tt>, <tt>suppress/delete</tt>, <tt>suppress/block</tt>, <tt>suppress/reblock</tt>, <tt>patrol/patrol</tt>, <tt>suppress/hide-afl</tt>, <tt>suppress/unhide-afl</tt>, <tt>gblblock/gblock</tt>, <tt>gblblock/gblock2</tt>, <tt>gblblock/gunblock</tt>, <tt>gblblock/whitelist</tt>, <tt>gblblock/dwhitelist</tt>, <tt>gblblock/modify</tt>, <tt>globalauth/delete</tt>, <tt>globalauth/lock</tt>, <tt>globalauth/unlock</tt>, <tt>globalauth/hide</tt>, <tt>globalauth/unhide</tt>, <tt>globalauth/lockandhid</tt>, <tt>globalauth/setstatus</tt>, <tt>suppress/setstatus</tt>, <tt>gblrights/usergroups</tt>, <tt>gblrights/groupperms</tt>, <tt>gblrights/groupprms2</tt>, <tt>gblrights/groupprms3</tt>, <tt>review/approve</tt>, <tt>review/approve2</tt>, <tt>review/approve-i</tt>, <tt>review/approve2-i</tt>, <tt>review/approve-a</tt>, <tt>review/approve2-a</tt>, <tt>review/approve-ia</tt>, <tt>review/approve2-ia</tt>, <tt>review/unapprove</tt>, <tt>review/unapprove2</tt>, <tt>rights/erevoke</tt>, <tt>newusers/newusers</tt>, <tt>newusers/create</tt>, <tt>newusers/create2</tt>, <tt>newusers/autocreate</tt>


 * dir – In which direction to enumerate.
 * Type: one of <tt>newer</tt>, <tt>older</tt>

ids           - Adds the id of the log event title         - Adds the title of the page for the log event type          - Adds the type of log event user          - Adds the user responsible for the log event userid        - Adds the user id who was responsible for the log event timestamp     - Adds the timestamp for the event comment       - Adds the comment of the event parsedcomment - Adds the parsed comment of the event details       - Lists addtional details about the event tags          - Lists tags for the event.
 * end – The timestamp to end enumerating . Type: timestamp
 * limit – How many total event entries to return . Type: limit
 * prop – Which properties to get
 * Type: one of <tt>ids</tt>, <tt>title</tt>, <tt>type</tt>, <tt>user</tt>, <tt>userid</tt>, <tt>timestamp</tt>, <tt>comment</tt>, <tt>parsedcomment</tt>, <tt>details</tt>, <tt>tags</tt>


 * start – The timestamp to start enumerating from . Type: timestamp
 * tag – Only list event entries tagged with this tag . Type: string
 * title – Filter entries to those related to a page . Type: string
 * type – Filter log entries to only this type(s).
 * Type: one of <tt></tt>, <tt>block</tt>, <tt>protect</tt>, <tt>rights</tt>, <tt>delete</tt>, <tt>upload</tt>, <tt>move</tt>, <tt>import</tt>, <tt>patrol</tt>, <tt>merge</tt>, <tt>suppress</tt>, <tt>renameuser</tt>, <tt>abusefilter</tt>, <tt>gblblock</tt>, <tt>globalauth</tt>, <tt>gblrights</tt>, <tt>review</tt>, <tt>stable</tt>, <tt>liquidthreads</tt>, <tt>newusers</tt>


 * user – Filter entries to those made by the given user . Type: string

Errors Codes

 * invalidtitle – Bad title ``title''.
 * invalidtitle – Bad title ``key''.
 * param_title – Bad title value 'title'.
 * param_user – User name $user not found.
 * readapidenied – You need read permission to use this module.