MediaWiki API help
This is an auto-generated MediaWiki API documentation page.
Documentation and examples: https://www.mediawiki.org/wiki/API
list=deletedrevs (dr)
- Este módulo está en desuso.
- Este módulo requiere permisos de lectura.
- Fuente: MediaWiki
- Licencia: GPL-2.0+
List deleted revisions.
Operates in three modes:
- List deleted revisions for the given titles, sorted by timestamp.
- List deleted contributions for the given user, sorted by timestamp (no titles specified).
- List all deleted revisions in the given namespace, sorted by title and timestamp (no titles specified, druser not set).
Certain parameters only apply to some modes and are ignored in others.
- drstart
- The timestamp to start enumerating from. 
- Modos: 1, 2
- Tipo: timestamp (formatos permitidos)
- drend
- The timestamp to stop enumerating at. 
- Modos: 1, 2
- Tipo: timestamp (formatos permitidos)
- drdir
- In which direction to enumerate: - newer
- List oldest first. Note: drstart has to be before drend.
- older
- List newest first (default). Note: drstart has to be later than drend.
 
- Modos: 1, 3
- Uno de los siguientes valores: newer, older
- Predeterminado: older
- drfrom
- Empezar a listar en este título. 
- Modo: 3
- drto
- Terminar de listar en este título. 
- Modo: 3
- drprefix
- Buscar todas las páginas que empiecen con este valor. 
- Modo: 3
- drunique
- Listar solo una revisión por cada página. 
- Modo: 3
- Tipo: booleano/lógico (detalles)
- drnamespace
- Listar solo las páginas en este espacio de nombres. 
- Modo: 3
- 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
- Predeterminado: 0
- drtag
- Listar solo las revisiones con esta etiqueta. 
- druser
- Listar solo las revisiones de este usuario. 
- Tipo: nombre de usuario
- drexcludeuser
- No listar las revisiones de este usuario. 
- Tipo: nombre de usuario
- drprop
- Which properties to get: - revid
- Adds the revision ID of the deleted revision.
- parentid
- Adds the revision ID of the previous revision to the page.
- user
- Adds the user who made the revision.
- userid
- Adds the ID of the user who made the revision.
- comment
- Adds the comment of the revision.
- parsedcomment
- Adds the parsed comment of the revision.
- minor
- Tags if the revision is minor.
- len
- Adds the length (bytes) of the revision.
- sha1
- Adds the SHA-1 (base 16) of the revision.
- content
- Adds the content of the revision.
- token
- Deprecated. Gives the edit token.
- tags
- Tags for the revision.
 
- Valores (separados por |): revid, parentid, user, userid, comment, parsedcomment, minor, len, sha1, content, token, tags
- Predeterminado: user|comment
- drlimit
- La cantidad máxima de revisiones que listar. 
- No se permite más de 500 (5000 para los bots).
- Tipo: entero o max
- Predeterminado: 10
- drcontinue
- Cuando haya más resultados disponibles, utiliza esto para continuar. 
- List the last deleted revisions of the pages Main Page and Talk:Main Page, with content (mode 1).
- api.php?action=query&list=deletedrevs&titles=Main%20Page|Talk:Main%20Page&drprop=user|comment|content [open in sandbox]
- List the last 50 deleted contributions by Bob (mode 2).
- api.php?action=query&list=deletedrevs&druser=Bob&drlimit=50 [open in sandbox]
- List the first 50 deleted revisions in the main namespace (mode 3).
- api.php?action=query&list=deletedrevs&drdir=newer&drlimit=50 [open in sandbox]
- Listar las primeras 50 páginas en el espacio de nombres Discusión (modo 3).
- api.php?action=query&list=deletedrevs&drdir=newer&drlimit=50&drnamespace=1&drunique= [open in sandbox]