MediaWiki API súgó
Ez egy automatikusan generált MediaWiki-API-dokumentációs lap.
Dokumentáció és példák: https://www.mediawiki.org/wiki/Special:MyLanguage/API:Main_page
action=mergehistory
- Ez a modul olvasási jogot igényel.
 - Ez a modul írási jogot igényel.
 - Ez a modul csak POST kéréseket fogad el.
 - Forrás: MediaWiki
 - Licenc: GPL-2.0-or-later
 
Laptörténetek egyesítése
- 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.
- Típus: egész szám
 - 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.
- Típus: egész szám
 - 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.
- Típus: időbélyeg (engedélyezett formátumok)
 - reason
 Laptörténet egyesítésének oka.
- Alapértelmezett: (üres)
 - token
 Egy „csrf” token, az action=query&meta=tokens kéréssel lekérve
- Ez a paraméter kötelező.
 
- Merge the entire history of Oldpage into Newpage.
 - api.php?action=mergehistory&from=Oldpage&to=Newpage&token=123ABC&reason=Reason [megnyitás a homokozóban]
 - 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 [megnyitás a homokozóban]