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

action=undelete

(main | undelete)
  • Questo modulo richiede i diritti di lettura.
  • Questo modulo richiede i diritti di scrittura.
  • Questo modulo accetta solo richieste POST.
  • Fonte: MediaWiki
  • Licenza: GPL-2.0-or-later

Ripristina versioni di una pagina cancellata.

A list of deleted revisions (including timestamps) can be retrieved through prop=deletedrevisions, and a list of deleted file IDs can be retrieved through list=filearchive.

Parametri specifici:
Sono disponibili altri parametri generali.
title

Titolo della pagina da ripristinare.

This parameter is required.
reason

Motivo per il ripristino.

Predefinito: (vuoto)
tags

Modifica etichette da applicare all'elemento del registro delle cancellazioni.

Valori (separati da | o alternativa): dt-migration
timestamps

Timestamps of the revisions to undelete. If both timestamps and fileids are empty, all will be undeleted.

Tipo: elenco di timestamp (formati consentiti)
Separa i valori con | o alternativa.
Maximum number of values is 50 (500 for clients that are allowed higher limits).
fileids

IDs of the file revisions to restore. If both timestamps and fileids are empty, all will be restored.

Type: list of integers
Separa i valori con | o alternativa.
Maximum number of values is 50 (500 for clients that are allowed higher limits).
undeletetalk

Undelete all revisions of the associated talk page, if any.

Tipo: booleano (dettagli)
watchlist

Unconditionally add or remove the page from the current user's watchlist, use preferences (ignored for bot users) or do not change watch.

Uno dei seguenti valori: nochange, preferences, unwatch, watch
Default: preferences
token

Un token "csrf" recuperato da action=query&meta=tokens

This parameter is required.