MediaWiki API help

This is an auto-generated MediaWiki API documentation page.

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

list=usercontribs (uc)

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

Get all edits by a user.

Parámetros:
uclimit

Número máximo de contribuciones que se devolverán.

No se permite más de 500 (5000 para los bots).
Tipo: entero o max
Predeterminado: 10
ucstart

The start timestamp to return from.

Tipo: timestamp (formatos permitidos)
ucend

The end timestamp to return to.

Tipo: timestamp (formatos permitidos)
uccontinue

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

ucuser

The users to retrieve contributions for.

Tipo: lista de nombres de usuarios
Separar los valores con |. El número máximo de los valores es 50 (500 para los bots).
ucuserprefix

Retrieve contributions for all users whose names begin with this value. Overrides ucuser.

ucdir

In which direction to enumerate:

newer
List oldest first. Note: ucstart has to be before ucend.
older
List newest first (default). Note: ucstart has to be later than ucend.
Uno de los siguientes valores: newer, older
Predeterminado: older
ucnamespace

Only list contributions in these namespaces.

Valores (separados por |): 0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 2300, 2301, 2302, 2303
ucprop

Incluir piezas adicionales de información:

ids
Añade el identificador de página y el de revisión.
title
Agrega el título y el identificador del espacio de nombres de la página.
timestamp
Añade fecha y hora de la edición.
comment
Añade el comentario de la edición.
parsedcomment
Adds the parsed comment of the edit.
size
Adds the new size of the edit.
sizediff
Adds the size delta of the edit against its parent.
flags
Adds flags of the edit.
patrolled
Etiqueta ediciones verificadas.
tags
Lista las etiquetas para la edición.
Valores (separados por |): ids, title, timestamp, comment, parsedcomment, size, sizediff, flags, patrolled, tags
Predeterminado: ids|title|timestamp|comment|size|flags
ucshow

Mostrar solo los elementos que coinciden con estos criterios. Por ejemplo, solo ediciones no menores: ucshow=!minor.

Si se establece ucshow=patrolled o ucshow=!patrolled, las revisiones más antiguas que $wgRCMaxAge (7776000 segundos) no se mostrarán.

Valores (separados por |): minor, !minor, patrolled, !patrolled, top, !top, new, !new
uctag

Only list revisions tagged with this tag.

uctoponly
En desuso.

Only list changes which are the latest revision.

Tipo: booleano/lógico (detalles)
Ejemplos:
Mostrar contribuciones del usuario Example.
api.php?action=query&list=usercontribs&ucuser=Example [open in sandbox]
Mostrar las contribuciones de todas las direcciones IP con el prefijo 192.0.2..
api.php?action=query&list=usercontribs&ucuserprefix=192.0.2. [open in sandbox]