MediaWiki API help
This is an auto-generated MediaWiki API documentation page.
Documentation and examples: https://www.mediawiki.org/wiki/API
list=logevents (le)
- This module requires read rights.
Get events from logs.
- leprop
Which properties to get:
- 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 additional details about the event.
- tags
- Lists tags for the event.
- Values (separate with |): ids, title, type, user, userid, timestamp, comment, parsedcomment, details, tags
- По умолчанию: ids|title|type|user|timestamp|comment|details
- letype
Filter log entries to only this type.
- One value: Can be empty, or block, protect, rights, delete, upload, move, import, patrol, merge, suppress, managetags, review, stable, translationreview, translatorsandbox, usermerge, newusers, pagetranslation
- leaction
Filter log actions to only this action. Overrides letype. Wildcard actions like action/* allows to specify any string for the asterisk.
- One value: protect/protect, protect/modify, protect/unprotect, protect/move_prot, import/upload, import/interwiki, review/approve, review/approve2, review/approve-i, review/approve2-i, review/approve-a, review/approve2-a, review/approve-ia, review/approve2-ia, review/unapprove, review/unapprove2, rights/erevoke, usermerge/mergeuser, usermerge/deleteuser, move/move, move/move_redir, delete/delete, delete/restore, delete/revision, delete/event, suppress/revision, suppress/event, suppress/delete, patrol/patrol, rights/rights, rights/autopromote, upload/upload, upload/overwrite, upload/revert, merge/merge, managetags/create, managetags/delete, managetags/activate, managetags/deactivate, block/block, block/unblock, block/reblock, suppress/block, suppress/reblock, stable/config, stable/modify, stable/reset, translationreview/message, translationreview/group, translatorsandbox/promoted, translatorsandbox/rejected, newusers/tsbpromoted, newusers/newusers, newusers/create, newusers/create2, newusers/byemail, newusers/autocreate, pagetranslation/mark, pagetranslation/unmark, pagetranslation/moveok, pagetranslation/movenok, pagetranslation/deletelok, pagetranslation/deletefok, pagetranslation/deletelnok, pagetranslation/deletefnok, pagetranslation/encourage, pagetranslation/discourage, pagetranslation/prioritylanguages, pagetranslation/associate, pagetranslation/dissociate
- lestart
The timestamp to start enumerating from.
- leend
The timestamp to end enumerating.
- ledir
In which direction to enumerate:
- newer
- List oldest first. Note: lestart has to be before leend.
- older
- List newest first (default). Note: lestart has to be later than leend.
- One value: newer, older
- По умолчанию: older
- leuser
Filter entries to those made by the given user.
- letitle
Filter entries to those related to a page.
- lenamespace
Filter entries to those in the given namespace.
- One value: 0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 420, 421, 828, 829, 1198, 1199
- leprefix
Filter entries that start with this prefix.
- letag
Only list event entries tagged with this tag.
- lelimit
How many total event entries to return.
- No more than 500 (5000 for bots) allowed.
- По умолчанию: 10
- lecontinue
When more results are available, use this to continue.
- List recent log events.
- api.php?action=query&list=logevents