MediaWiki-API-Hilfe
Dies ist eine automatisch generierte MediaWiki-API-Dokumentationsseite.
Dokumentation und Beispiele: https://www.mediawiki.org/wiki/API/de
action=mergehistory
- Dieses Modul erfordert Leserechte.
 - Dieses Modul erfordert Schreibrechte.
 - Dieses Modul akzeptiert nur POST-Anfragen.
 - Quelle: MediaWiki
 - Lizenz: GPL-2.0-or-later
 
Führt Versionsgeschichten von Seiten zusammen.
- from
 Title of the page from which history will be merged. Cannot be used together with fromid.
- fromid
 Page ID of the page from which history will be merged. Cannot be used together with from.
- Typ: Ganzzahl
 - to
 Title of the page to which history will be merged. Cannot be used together with toid.
- toid
 Page ID of the page to which history will be merged. Cannot be used together with to.
- Typ: Ganzzahl
 - timestamp
 Timestamp up to which revisions will be moved from the source page's history to the destination page's history. If omitted, the entire page history of the source page will be merged into the destination page.
- Typ: Zeitstempel (erlaubte Formate)
 - reason
 Grund für die Zusammenführung der Versionsgeschichten
- Standard: (leer)
 - token
 Ein „csrf“-Token abgerufen von action=query&meta=tokens
- Dieser Parameter ist erforderlich.
 
- Fügt alle Versionen von Oldpage der Versionsgeschichte von Newpage hinzu.
 - api.php?action=mergehistory&from=Oldpage&to=Newpage&token=123ABC&reason=Reason [in Spielwiese öffnen]
 - Merge the page revisions of Oldpage dating up to 2015-12-31T04:37:41Z into Newpage.
 - api.php?action=mergehistory&from=Oldpage&to=Newpage&token=123ABC&reason=Reason×tamp=2015-12-31T04%3A37%3A41Z [in Spielwiese öffnen]