MediaWiki-API-Hilfe

Dies ist eine automatisch generierte MediaWiki-API-Dokumentationsseite.

Dokumentation und Beispiele: https://www.mediawiki.org/wiki/API/de

action=undelete

(main | undelete)
  • Dieses Modul erfordert Leserechte.
  • Dieses Modul erfordert Schreibrechte.
  • Dieses Modul akzeptiert nur POST-Anfragen.
  • Quelle: MediaWiki
  • Lizenz: GPL-2.0-or-later

Restore revisions of a deleted page.

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.

Parameter:
title

Titel der wiederherzustellenden Seite.

Dieser Parameter ist erforderlich.
reason

Grund für die Wiederherstellung.

Standard: (leer)
tags

Auf den Lösch-Logbuch-Eintrag anzuwendende Änderungsmarkierungen.

Werte (mit | trennen oder Alternative):
timestamps

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

Typ: Liste von Zeitstempeln (erlaubte Formate)
Werte mit | trennen oder Alternative. Maximale Anzahl der Werte ist 50 (500 für Bots).
fileids

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

Typ: Liste von Ganzzahlen
Werte mit | trennen oder Alternative. Maximale Anzahl der Werte ist 50 (500 für Bots).
watchlist

Unconditionally add or remove the page from the current user's watchlist, use preferences or do not change watch.

Einer der folgenden Werte: watch, unwatch, preferences, nochange
Standard: preferences
token

Ein „csrf“-Token abgerufen von action=query&meta=tokens

Dieser Parameter ist erforderlich.