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.
- Source: MediaWiki
- License: GPL-2.0+
دریافت رویدادها از سیاههها.
- 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 log event.
- comment
- Adds the comment of the log event.
- parsedcomment
- Adds the parsed comment of the log event.
- details
- Lists additional details about the log event.
- tags
- Lists tags for the log event.
- Values (separate with |): ids، title، type، user، userid، timestamp، comment، parsedcomment، details، tags
- Default: ids|title|type|user|timestamp|comment|details
- letype
Filter log entries to only this type.
- One of the following values: Can be empty, or renameuser، block، protect، rights، delete، upload، move، import، patrol، merge، suppress، tag، managetags، contentmodel، articlefeedbackv5، namespaces، newusers، interwiki
- leaction
Filter log actions to only this action. Overrides letype. In the list of possible values, values with the asterisk wildcard such as action/* can have different strings after the slash (/).
- One of the following values: protect/modify، protect/protect، protect/unprotect، namespaces/namespaces، namespaces/ns_add، namespaces/ns_delete، namespaces/ns_edit، renameuser/renameuser، block/block، block/reblock، block/unblock، contentmodel/change، delete/delete، delete/event، delete/restore، delete/revision، import/interwiki، import/upload، managetags/activate، managetags/create، managetags/deactivate، managetags/delete، merge/merge، move/move، move/move_redir، patrol/patrol، protect/move_prot، rights/autopromote، rights/rights، suppress/block، suppress/delete، suppress/event، suppress/reblock، suppress/revision، tag/update، upload/overwrite، upload/revert، upload/upload، articlefeedbackv5/protect، articlefeedbackv5/create، articlefeedbackv5/helpful، articlefeedbackv5/undo-helpful، articlefeedbackv5/unhelpful، articlefeedbackv5/undo-unhelpful، articlefeedbackv5/flag، articlefeedbackv5/unflag، articlefeedbackv5/autoflag، articlefeedbackv5/clear-flags، articlefeedbackv5/feature، articlefeedbackv5/unfeature، articlefeedbackv5/resolve، articlefeedbackv5/unresolve، articlefeedbackv5/noaction، articlefeedbackv5/unnoaction، articlefeedbackv5/inappropriate، articlefeedbackv5/uninappropriate، articlefeedbackv5/archive، articlefeedbackv5/unarchive، articlefeedbackv5/hide، articlefeedbackv5/unhide، articlefeedbackv5/autohide، suppress/request، suppress/unrequest، suppress/decline، suppress/oversight، suppress/unoversight، newusers/newusers، newusers/create، newusers/create2، newusers/byemail، newusers/autocreate، interwiki/*
- lestart
The timestamp to start enumerating from.
- Type: timestamp (allowed formats)
- leend
The timestamp to end enumerating.
- Type: timestamp (allowed formats)
- 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 of the following values: newer، older
- Default: 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 of the following values: 0، 1، 2، 3، 4، 5، 6، 7، 8، 9، 10، 11، 12، 13، 14، 15، 3000، 3001، 3002، 3003، 3004، 3005، 3006، 3007، 3008، 3009، 3010، 3011، 2300، 2301، 2302، 2303، 106، 107، 828، 829
- 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 ۵۰۰ (۵٬۰۰۰ for bots) allowed.
- Type: integer or max
- Default: 10
- lecontinue
When more results are available, use this to continue.
- List recent log events.
- api.php?action=query&list=logevents