API:Logevents

Get a list of all logged events, à la Special:Log. This module cannot be used as a generator.

Results
It returns a list of items, each item being a log item.

Items can contain these properties, from the logging table:


 * : Content of the  field.
 * : Content of the  field.
 * : Prefixed title from the  and   fields.
 * : Page id corresponding to the current page defined by the combination of the  and   fields. It represents the current page id, not the page id at the time the log was stored.
 * : Content of the  field. It represents the page id at the time the log was stored.
 * : Content of the  field.
 * : Content of the  field.
 * : Content of the  field.
 * : Content of the  field.
 * : Content of the  field formatted in ISO 8601 format.
 * : Content of the  field.
 * : Boolean indicating the title was hidden.  and   will be absent if the user has no sufficient rights to view deleted log entries.
 * : Boolean indicating the comment was hidden.  will be absent if the user has no sufficient rights to view deleted log entries.
 * : Boolean indicating the user was hidden.  and   will be absent if the user has no sufficient rights to view deleted log entries.
 * : Boolean indicating details were supressed. Only users with the  can view them.
 * : Prettified content of the  field in array format:
 * Legacy parameters will contain numeric keys, where each key is a line.
 * Other entries are formatted according to the class:
 * In general, parameter names in "4::paramname" format are output as "paramname", stripping the index and type and formatting the value accordingly.
 * If the parameter is a title, it's split in 2 parameters: paramname_ns (contains the namespace number) and paramname_title (contains the whole title, namespace included).
 * Before MediaWiki 1.25:
 * Parameters weren't in the  property, but in a property with the same name as the   value.
 * Some log types had different parameter names.
 * Legacy parameters were in numeric keys directly inside the log entry and not inside the  property.

Here are some examples of child elements that reveal log parameters:
 * Block
 * Move
 * Patrol
 * Rights