MediaWiki API help
This is an auto-generated MediaWiki API documentation page.
Documentation and examples: https://www.mediawiki.org/wiki/Special:MyLanguage/API:Main_page
list=logevents (le)
- This module requires read rights.
- Source: MediaWiki
- License: GPL-2.0-or-later
Get events from logs.
- leprop
Millised atribuudid hankida:
- 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. If the user has been revision deleted, a userhidden property will be returned.
- userid
- Adds the user ID who was responsible for the log event. If the user has been revision deleted, a userhidden property will be returned.
- timestamp
- Adds the timestamp for the log event.
- comment
- Adds the comment of the log event. If the comment has been revision deleted, a commenthidden property will be returned.
- parsedcomment
- Adds the parsed comment of the log event. If the comment has been revision deleted, a commenthidden property will be returned.
- details
- Lists additional details about the log event. If the log event has been revision deleted, an actionhidden property will be returned.
- tags
- Lists tags for the log event.
- Values (separate with | or alternative): comment, details, ids, parsedcomment, tags, timestamp, title, type, user, userid
- Default: ids|title|type|user|timestamp|comment|details
- letype
Loetle ainult seda tüüpi logisündmused.
- One of the following values: Can be empty, or block, contentmodel, create, delete, import, managetags, merge, move, newusers, patrol, protect, rights, suppress, tag, upload
- leaction
Loetle ainult logisündmused selle toimingu kohta. Kirjutab üle parameetri letype. Väärtused, milles on võimalike väärtuste loetelus metamärk asterisk (toiming/*), võib kaldkriipsu (/) järel olla erinev sõne.
- One of the following values: block/block, block/reblock, block/unblock, contentmodel/change, contentmodel/new, create/create, delete/delete, delete/delete_redir, delete/delete_redir2, 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, newusers/autocreate, newusers/byemail, newusers/create, newusers/create2, newusers/newusers, patrol/autopatrol, patrol/patrol, 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
- lestart
Ajatempel, millest alates loetleda.
- Type: timestamp (allowed formats)
- leend
Ajatempel, milleni loetleda.
- Type: timestamp (allowed formats)
- ledir
Loetlemise suund:
- newer
- Vanemad enne. Märkus: element lestart peab olema enne elementi leend.
- older
- Uuemad enne (vaikimisi). Märkus: element lestart peab olema pärast elementi leend.
- One of the following values: newer, older
- Default: older
- leuser
Loetle ainult selle kasutaja sissekanded.
- Tüüp: kasutaja, määramisviisid: kasutajanimi, IP-aadress, intervikinimi (nt "eesliide>Näidisnimi") ja kasutaja identifikaator (nt "#12345")
- letitle
Filter entries to those related to a page.
- lenamespace
Loetle ainult sissekanded, mis on selles nimeruumis.
- One of the following values: -1, -2, 0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15
- leprefix
Filter entries that start with this prefix.
- letag
Loetle ainult logisündmused, mille küljes on see märgis.
- lelimit
Kui palju logisündmusi kokku tagastada.
- Type: integer or max
- The value must be between 1 and 500.
- Default: 10
- lecontinue
Kui saadaval on rohkem tulemusi, kasuta seda jätkamiseks.
- List recent log events.
- api.php?action=query&list=logevents [open in sandbox]