MediaWiki API help
This is an auto-generated MediaWiki API documentation page.
Documentation and examples: https://www.mediawiki.org/wiki/API
list=logevents (le)
- Denna modul kräver läsrättigheter.
- Source: MediaWiki
- License: GPL-2.0+
Hämta händelser från loggar.
- 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.
- Värden (separerade med | eller alternativ): 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.
- Ett av följande värden: Kan vara tom, eller usermerge, block, protect, rights, delete, upload, move, import, patrol, merge, suppress, tag, managetags, contentmodel, translationreview, newusers, pagelang, interwiki, pagetranslation
- 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 (/).
- Ett av följande värden: usermerge/mergeuser, usermerge/deleteuser, block/block, block/reblock, block/unblock, contentmodel/change, contentmodel/new, delete/delete, delete/delete_redir, 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, patrol/autopatrol, protect/modify, protect/move_prot, protect/protect, protect/unprotect, rights/autopromote, rights/rights, suppress/block, suppress/delete, suppress/event, suppress/reblock, suppress/revision, tag/update, upload/overwrite, upload/revert, upload/upload, translationreview/message, translationreview/group, newusers/newusers, newusers/create, newusers/create2, newusers/byemail, newusers/autocreate, pagelang/pagelang, interwiki/*, 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.
- 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.
- Ett av följande värden: newer, older
- Default: older
- leuser
Filter entries to those made by the given user.
- Type: user name
- letitle
Filter entries to those related to a page.
- lenamespace
Filter entries to those in the given namespace.
- Ett av följande värden: -2, -1, 0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 460, 461, 1198, 1199, 1336, 1337, 1338, 1339, 1340, 1341, 3400, 3401, 6000, 6001, 6002, 6003, 6004, 6005, 6006, 6007, 6008, 6009, 6010, 6011, 6012, 6013, 6014, 6015, 6016, 6017, 6018, 6019, 6020, 6021, 6022, 6023, 6024, 6025, 6026, 6027, 6028, 6029, 6030, 6031, 6032, 6033, 6034, 6036, 6038, 6040, 6042, 6044, 6046, 6048, 6050, 6052
- 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.
- Inte mer än 500 (5 000 för robotar) tillåts.
- Type: integer or max
- Default: 10
- lecontinue
When more results are available, use this to continue.
- lenocache
- (no description)
- Type: boolean (details)
- leprop_append
- (no description)
- Type: boolean (details)
- List recent log events.
- api.php?action=query&list=logevents [open in sandbox]