Помош со Извршникот на МедијаВики

Ова е самосоздадена документациска страница за извршникот на МедијаВики.

Документација и примери: https://www.mediawiki.org/wiki/API

list=logevents (le)

(main | query | logevents)
  • За овој модул се потребни права на читање.
  • Извор: MediaWiki
  • Лиценца: GPL-2.0-or-later

Get events from logs.

Параметри:
leprop

Кои својства да се дадат:

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.
Вредности (одделете ги со | или алтернатива): comment, details, ids, parsedcomment, tags, timestamp, title, type, user, userid
По основно: ids|title|type|user|timestamp|comment|details
letype

Filter log entries to only this type.

Една од следниве вредности: Може да биде празно или block, contentmodel, create, delete, import, managetags, merge, move, newusers, patrol, protect, rights, suppress, tag, upload
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 (/).

Една од следниве вредности: 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

Од кој датум и време да почне набројувањето.

Тип: време и датум (допуштени формати)
leend

На кој датум и време да запре набројувањето.

Тип: време и датум (допуштени формати)
ledir

Во која насока да се набројува:

newer
Прво најстарите. Напомена: lestart мора да биде пред leend.
older
Прво најновите (по основно). Напомена: lestart мора да биде подоцна од leend.
Една од следниве вредности: newer, older
По основно: older
leuser

Filter entries to those made by the given user.

Вид: корисник, од некое од корисничко име, IP-адреса, меѓувики-назив (на пр. „prefix>ПримеренНазив“) и корисничка назнака (на пр. „#12345“)
letitle

Filter entries to those related to a page.

lenamespace

Filter entries to those in the given namespace.

Една од следниве вредности: -1, -2, 0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 2300, 2301, 2302, 2303
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.

Тип: цел број или max
Вредноста мора да изнесува помеѓу 1 и 500.
По основно: 10
lecontinue

Употребете го ова за да продолжите кога има повеќе расположиви ставки.

Пример:
List recent log events.
api.php?action=query&list=logevents [open in sandbox]