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=mergehistory
- Ta modul zahteva pravice branja.
- This module requires write rights.
- Ta modul sprejema samo zahtevke POST.
- Source: MediaWiki
- License: GPL-2.0-or-later
Merge page histories.
- 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.
- Vtipkajte: celo število
- to
Naslov strani, v katero naj se združi zgodovina. Ni ga mogoče uporabiti skupaj z toid.
- toid
ID strani, v katero naj se združi zgodovina. Ni ga mogoče uporabiti skupaj z to.
- Vtipkajte: celo število
- 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.
- Type: timestamp (allowed formats)
- reason
Razlog za združitev zgodovine.
- Default: (empty)
- token
A "csrf" token retrieved from action=query&meta=tokens
- Ta parameter je obvezen.
- Merge the entire history of Oldpage into Newpage.
- api.php?action=mergehistory&from=Oldpage&to=Newpage&token=123ABC&reason=Reason [open in sandbox]
- 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 [open in sandbox]