MediaWiki API help
This is an auto-generated MediaWiki API documentation page.
Documentation and examples: https://www.mediawiki.org/wiki/Special:MyLanguage/API:Main_page
list=deletedrevs (dr)
- Questo modulo è deprecato.
 - Questo modulo richiede i diritti di lettura.
 - Fonte: MediaWiki
 - Licenza: GPL-2.0-or-later
 
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
 Il timestamp da cui iniziare l'elenco.
- Modes: 1, 2
 - Tipo: timestamp (formati consentiti)
 - drend
 Il timestamp al quale interrompere l'elenco.
- Modes: 1, 2
 - Tipo: timestamp (formati consentiti)
 - 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.
 
- Modes: 1, 3
 - Uno dei seguenti valori: newer, older
 - Default: older
 - drfrom
 Inizia elenco a questo titolo.
- Mode: 3
 - drto
 Interrompi elenco a questo titolo.
- Mode: 3
 - drprefix
 Ricerca per tutti i titoli delle pagine che iniziano con questo valore.
- Mode: 3
 - drunique
 Elenca solo una versione per ogni pagina.
- Mode: 3
 - Tipo: booleano (dettagli)
 - drnamespace
 Elenca solo le pagine in questo namespace.
- Mode: 3
 - Uno dei seguenti valori: 0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15
 - Default: 0
 - drtag
 Elenca solo le versioni etichettate con questa etichetta.
- druser
 Elenca solo le versioni di questo utente.
- Tipo: utente, da uno qualsiasi nome utente, IP, interwiki name (e.g. "prefix>ExampleName") e ID utente (ad esempio "#12345")
 - drexcludeuser
 Non elencare le versioni di questo utente.
- Tipo: utente, da uno qualsiasi nome utente, IP, interwiki name (e.g. "prefix>ExampleName") e ID utente (ad esempio "#12345")
 - 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.
 
- Valori (separati da | o alternativa): comment, content, len, minor, parentid, parsedcomment, revid, sha1, tags, token, user, userid
 - Default: user|comment
 - drlimit
 Il numero massimo di versioni da elencare.
- Tipo: intero o max
 - The value must be between 1 and 500.
 - Default: 10
 - drcontinue
 Quando più risultati sono disponibili, usa questo per continuare.
- 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 [apri in una sandbox]
 - List the last 50 deleted contributions by Bob (mode 2).
 - api.php?action=query&list=deletedrevs&druser=Bob&drlimit=50 [apri in una sandbox]
 - List the first 50 deleted revisions in the main namespace (mode 3).
 - api.php?action=query&list=deletedrevs&drdir=newer&drlimit=50 [apri in una sandbox]
 - List the first 50 deleted pages in the Discussione namespace (mode 3).
 - api.php?action=query&list=deletedrevs&drdir=newer&drlimit=50&drnamespace=1&drunique= [apri in una sandbox]