MediaWiki-API-Hilfe
Dies ist eine automatisch generierte MediaWiki-API-Dokumentationsseite.
Dokumentation und Beispiele: https://www.mediawiki.org/wiki/Special:MyLanguage/API:Main_page
action=rollback
- Dieses Modul erfordert Leserechte.
- Dieses Modul erfordert Schreibrechte.
- Dieses Modul akzeptiert nur POST-Anfragen.
- Quelle: MediaWiki
- Lizenz: GPL-2.0-or-later
Setzt die letzte Bearbeitung der Seite zurück.
If the last user who edited the page made multiple edits in a row, they will all be rolled back.
- title
- Title of the page to roll back. Cannot be used together with pageid. 
- pageid
- Page ID of the page to roll back. Cannot be used together with title. 
- Typ: Ganzzahl
- Tags to apply to the rollback. 
- Werte (mit | trennen oder Alternative):
- user
- Name of the user whose edits are to be rolled back. 
- Dieser Parameter ist erforderlich.
- Typ: Benutzer, von einem der Benutzername, IP-Adresse, Vorläufiger Benutzer, Interwiki-Name (z.B. "prefix>ExampleName") und Benutzer-ID (z.B. "#12345")
- summary
- Custom edit summary. If empty, default summary will be used. 
- Standard: (leer)
- markbot
- Markiere die zurückgesetzten Bearbeitungen sowie die Zurücksetzung als Botbearbeitungen. 
- Type: boolean (details)
- watchlist
- Unconditionally add or remove the page from the current user's watchlist, use preferences (ignored for bot users) or do not change watch. 
- Einer der folgenden Werte: nochange, preferences, unwatch, watch
- Standard: preferences
- token
- Ein „rollback“-Token abgerufen von action=query&meta=tokens - Aus Kompatibilitätsgründen wird der in der Weboberfläche verwendete Token ebenfalls akzeptiert. 
- Dieser Parameter ist erforderlich.
- Roll back the last edits to page Hauptseite by user Example.
- api.php?action=rollback&title=Hauptseite&user=Example&token=123ABC [in Spielwiese öffnen]
- Roll back the last edits to page Hauptseite by IP user 192.0.2.5 with summary Reverting vandalism, and mark those edits and the revert as bot edits.
- api.php?action=rollback&title=Hauptseite&user=192.0.2.5&token=123ABC&summary=Reverting%20vandalism&markbot=1 [in Spielwiese öffnen]