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

(main | mergehistory)
  • This module requires read rights.
  • This module requires write rights.
  • This module only accepts POST requests.
  • Source: MediaWiki
  • License: GPL-2.0-or-later

Merge page histories.

Parameters:
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.

Type: integer
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.

Type: integer
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

Reason for the history merge.

Default: (empty)
token

A "csrf" token retrieved from action=query&meta=tokens

This parameter is required.

Retrieved from Special:ApiHelp – Max-EuP 2012 on 18 May 2024.

Terms of Use

The Max Planck Encyclopedia of European Private Law, published as a print work in 2012, has been made freely available in 2021 as an online edition at <max-eup2012.mpipriv.de>.

The materials published here are subject to exclusive rights of use as held by the Max Planck Institute for Comparative and International Private Law and the publisher Oxford University Press; they may only be used for non-commercial purposes. Users may download, print, and make copies of the text files being made freely available to the public. Further, users may translate excerpts of the entries and cite them in the context of academic work, provided that the following requirements are met:

  • Use for non-commercial purposes
  • The textual integrity of each entry and its elements is maintained
  • Citation of the online reference according to academic standards, indicating the author, keyword title, work name, and date of retrieval (see Suggested Citation Style).