MediaWiki API help

This is an auto-generated MediaWiki API documentation page.

Documentation and examples: https://www.mediawiki.org/wiki/API

list=logevents (le)

(main | query | logevents)
  • Este módulo requiere permisos de lectura.
  • Fuente: MediaWiki
  • Licencia: GPL-2.0+

Get events from logs.

Parámetros:
leprop

Qué propiedades se obtendrán:

ids
Agrega el identificador del evento de registro.
title
Adds the title of the page for the log event.
type
Añade el tipo del evento de registro.
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
Añade el comentario analizado del evento de registro.
details
Lists additional details about the log event.
tags
Lists tags for the log event.
Valores (separados por |): ids, title, type, user, userid, timestamp, comment, parsedcomment, details, tags
Predeterminado: ids|title|type|user|timestamp|comment|details
letype

Filter log entries to only this type.

Uno de los siguientes valores: Puede estar vacío, o usermerge, abusefilter, block, protect, rights, delete, upload, move, import, patrol, merge, suppress, tag, managetags, contentmodel, 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 (/).

Uno de los siguientes valores: usermerge/mergeuser, usermerge/deleteuser, suppress/hide-afl, suppress/unhide-afl, abusefilter/modify, abusefilter/hit, block/block, block/reblock, block/unblock, contentmodel/change, contentmodel/new, 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, 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, newusers/newusers, newusers/create, newusers/create2, newusers/byemail, newusers/autocreate, interwiki/*
lestart

The timestamp to start enumerating from.

Tipo: timestamp (formatos permitidos)
leend

The timestamp to end enumerating.

Tipo: timestamp (formatos permitidos)
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.
Uno de los siguientes valores: newer, older
Predeterminado: older
leuser

Filter entries to those made by the given user.

Tipo: nombre de usuario
letitle

Filter entries to those related to a page.

lenamespace

Filter entries to those in the given namespace.

Uno de los siguientes valores: 0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 100, 101, 102, 103, 104, 105, 106, 107, 110, 111
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 se permite más de 500 (5000 para los bots).
Tipo: entero o max
Predeterminado: 10
lecontinue

Cuando haya más resultados disponibles, utiliza esto para continuar.