MediaWiki API help
This is an auto-generated MediaWiki API documentation page.
Documentation and examples: https://www.mediawiki.org/wiki/API
list=allrevisions (arv)
- Este módulo requiere permisos de lectura.
- Este módulo puede utilizarse como un generador.
- Fuente: MediaWiki
- Licencia: GPL-2.0+
Listar todas las revisiones.
- arvprop
- Las propiedades que se obtendrán para cada revisión: - ids
- El identificador de la revisión.
- flags
- Marcas de revisión (menor).
- timestamp
- La fecha y hora de la revisión.
- user
- Usuario que realizó la revisión.
- userid
- Identificador de usuario del creador de la revisión.
- size
- Longitud (en bytes) de la revisión.
- sha1
- SHA-1 (base 16) de la revisión.
- contentmodel
- Identificador del modelo de contenido de la revisión.
- comment
- Comentario del usuario para la revisión.
- parsedcomment
- Parsed comment by the user for the revision.
- content
- Texto de la revisión.
- tags
- Etiquetas para la revisión.
- parsetree
- The XML parse tree of revision content (requires content model wikitext).
 
- Valores (separados por |): ids, flags, timestamp, user, userid, size, sha1, contentmodel, comment, parsedcomment, content, tags, parsetree
- Predeterminado: ids|timestamp|flags|comment|user
- arvlimit
- Limit how many revisions will be returned. 
- No se permite más de 500 (5000 para los bots).
- Tipo: entero o max
- arvexpandtemplates
- Expand templates in revision content (requires arvprop=content). 
- Tipo: booleano/lógico (detalles)
- arvgeneratexml
- En desuso.
- Generate XML parse tree for revision content (requires arvprop=content; replaced by arvprop=parsetree). 
- Tipo: booleano/lógico (detalles)
- arvparse
- Parse revision content (requires arvprop=content). For performance reasons, if this option is used, arvlimit is enforced to 1. 
- Tipo: booleano/lógico (detalles)
- arvsection
- Only retrieve the content of this section number. 
- arvdiffto
- Revision ID to diff each revision to. Use prev, next and cur for the previous, next and current revision respectively. 
- arvdifftotext
- Text to diff each revision to. Only diffs a limited number of revisions. Overrides arvdiffto. If arvsection is set, only that section will be diffed against this text. 
- arvdifftotextpst
- Perform a pre-save transform on the text before diffing it. Only valid when used with arvdifftotext. 
- Tipo: booleano/lógico (detalles)
- arvcontentformat
- Serialization format used for arvdifftotext and expected for output of content. 
- Uno de los siguientes valores: text/x-wiki, text/javascript, application/json, text/css, text/plain
- arvuser
- Listar solo las revisiones de este usuario. 
- Tipo: nombre de usuario
- arvnamespace
- Listar solo las páginas en este espacio de nombres. 
- Valores (separados por |): 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
- arvstart
- The timestamp to start enumerating from. 
- Tipo: timestamp (formatos permitidos)
- arvend
- The timestamp to stop enumerating at. 
- Tipo: timestamp (formatos permitidos)
- arvdir
- In which direction to enumerate: - newer
- List oldest first. Note: arvstart has to be before arvend.
- older
- List newest first (default). Note: arvstart has to be later than arvend.
 
- Uno de los siguientes valores: newer, older
- Predeterminado: older
- arvexcludeuser
- No listar las revisiones de este usuario. 
- Tipo: nombre de usuario
- arvcontinue
- Cuando haya más resultados disponibles, utiliza esto para continuar. 
- arvgeneratetitles
- When being used as a generator, generate titles rather than revision IDs. 
- Tipo: booleano/lógico (detalles)
- Listar las últimas 50 contribuciones del usuario Example.
- api.php?action=query&list=allrevisions&arvuser=Example&arvlimit=50 [open in sandbox]
- Listar las primeras 50 revisiones en el espacio de nombres principal.
- api.php?action=query&list=allrevisions&arvdir=newer&arvlimit=50 [open in sandbox]