MediaWiki API help
This is an auto-generated MediaWiki API documentation page.
Documentation and examples: https://www.mediawiki.org/wiki/API
prop=deletedrevisions (drv)
- Questo modulo richiede i diritti di lettura.
 - Questo modulo può essere utilizzato come generatore.
 - Fonte: MediaWiki
 - Licenza: GPL-2.0+
 
Get deleted revision information.
May be used in several ways:
- Get deleted revisions for a set of pages, by setting titles or pageids. Ordered by title and timestamp.
 - Get data about a set of deleted revisions by setting their IDs with revids. Ordered by revision ID.
 
- drvprop
 Which properties to get for each revision:
- ids
 - L'ID della versione.
 - flags
 - Revision flags (minor).
 - timestamp
 - Il timestamp della versione.
 - user
 - Utente che ha effettuato la versione.
 - userid
 - ID utente dell'autore della versione.
 - size
 - Length (bytes) of the revision.
 - sha1
 - SHA-1 (base 16) of the revision.
 - contentmodel
 - Content model ID of the revision.
 - comment
 - Comment by the user for the revision.
 - parsedcomment
 - Parsed comment by the user for the revision.
 - content
 - Testo della versione.
 - tags
 - Etichette della versione.
 - parsetree
 - Deprecated. Use action=expandtemplates or action=parse instead. The XML parse tree of revision content (requires content model 
wikitext). 
- Valori (separati da | o alternativa): ids, flags, timestamp, user, userid, size, sha1, contentmodel, comment, parsedcomment, content, tags, parsetree
 - Predefinito: ids|timestamp|flags|comment|user
 - drvlimit
 Limit how many revisions will be returned.
- Non più di 500 (5 000 per bot) consentito.
 - Tipo: intero o max
 - drvexpandtemplates
 - Deprecato.
 Use action=expandtemplates instead. Expand templates in revision content (requires drvprop=content).
- Tipo: booleano (dettagli)
 - drvgeneratexml
 - Deprecato.
 Use action=expandtemplates or action=parse instead. Generate XML parse tree for revision content (requires drvprop=content).
- Tipo: booleano (dettagli)
 - drvparse
 - Deprecato.
 Use action=parse instead. Parse revision content (requires drvprop=content). For performance reasons, if this option is used, drvlimit is enforced to 1.
- Tipo: booleano (dettagli)
 - drvsection
 Only retrieve the content of this section number.
- drvdiffto
 - Deprecato.
 Use action=compare instead. Revision ID to diff each revision to. Use prev, next and cur for the previous, next and current revision respectively.
- drvdifftotext
 - Deprecato.
 Use action=compare instead. Text to diff each revision to. Only diffs a limited number of revisions. Overrides drvdiffto. If drvsection is set, only that section will be diffed against this text.
- drvdifftotextpst
 - Deprecato.
 Use action=compare instead. Perform a pre-save transform on the text before diffing it. Only valid when used with drvdifftotext.
- Tipo: booleano (dettagli)
 - drvcontentformat
 Serialization format used for drvdifftotext and expected for output of content.
- Uno dei seguenti valori: text/x-wiki, text/javascript, application/json, text/css, text/plain
 - drvstart
 Il timestamp da cui iniziare l'elenco. Ignorato quando si elabora un elenco di ID versioni.
- Tipo: timestamp (formati consentiti)
 - drvend
 Il timestamp al quale interrompere l'elenco. Ignorato quando si elabora un elenco di ID versioni.
- Tipo: timestamp (formati consentiti)
 - drvdir
 In which direction to enumerate:
- newer
 - List oldest first. Note: drvstart has to be before drvend.
 - older
 - List newest first (default). Note: drvstart has to be later than drvend.
 
- Uno dei seguenti valori: newer, older
 - Predefinito: older
 - drvtag
 Elenca solo le versioni etichettate con questa etichetta.
- drvuser
 Elenca solo le versioni di questo utente.
- Tipo: nome utente
 - drvexcludeuser
 Non elencare le versioni di questo utente.
- Tipo: nome utente
 - drvcontinue
 Quando più risultati sono disponibili, usa questo per continuare.
- Elenca le versioni cancellate delle pagine Main Page e Talk:Main Page, con il contenuto.
 - api.php?action=query&prop=deletedrevisions&titles=Main%20Page|Talk:Main%20Page&drvprop=user|comment|content [apri in una sandbox]
 - Elenca le informazioni per la versione cancellata 123456.
 - api.php?action=query&prop=deletedrevisions&revids=123456 [apri in una sandbox]