Jump to content

Help:Merge history

From mediawiki.org
PD Note: When you edit this page, you agree to release your contribution under the CC0. See Public Domain Help Pages for more info. PD

Merge history (added in MW 1.12) is a special page that makes it possible to automatically merge the history of two pages.

This feature is accessible for users with the mergehistory user right at Special:MergeHistory. Users in the sysop user group have this right assigned to them by default.

Pages merged through this special page are logged in a "merge log".

Benefits

[edit]
  • It does not create a new revision of the source page.
  • It does not lead to licensing violation, which would have resulted from cutting and pasting.
  • The history of a page is not split among different pages.

Usage

[edit]
Go to Special:MergeHistory.

Enter the titles of the source page and the destination page in the input fields provided. The source page is the page whose revision you want to merge into another page while the destination page is the page that the revision will be merged into.

Click on "Show mergeable edits".


You will be shown a list of revisions from the source page which can be merged into the destination page. These are revisions starting from latest version of the source page which is older than the oldest version of the target page. It is not possible to merge later revisions of the source page into the destination page.

Click on the radio button next to a revision to select it. Click on "Merge revisions". This will merge the selected revision and all before it. If the radio button is not selected and all revisions of the source page are older than the oldest version of the target page, then all revisions of the source page will be merged.


If the merge was successful, you should see a page similar to this.
If all the revisions of the source page are merged into the destination page, a redirect to the destination page will be created in the source page.

Special cases

[edit]

If the destination page started as a redirect to the source page, it will cause an overlap in revisions hence preventing a full MergeHistory. To fix this:

  • Delete the destination page.
  • Restore all but previously deleted and the redirect revisions.
  • It is now possible for a MergeHistory to occur.

Undoing a merge

[edit]

Go to Special:Log/merge then click "Unmerge".

See also

[edit]