Help:Merge history

From MediaWiki.org
Jump to navigation Jump to search

Other languages:
Deutsch • ‎English • ‎Esperanto • ‎Nederlands • ‎català • ‎dansk • ‎español • ‎français • ‎italiano • ‎polski • ‎português do Brasil • ‎русский • ‎српски / srpski • ‎українська • ‎فارسی • ‎中文 • ‎日本語 • ‎한국어
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
Special pages - Help Diff PermanentLink Merge history New files New pages Preferences Random page Recent changes Undelete Watchlist ExpandTemplates ApiSandbox

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 source]

  • 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 source]

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".

Special merge history.png

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.

Choose merge history.png

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.
Submit merge history.png

Special cases[edit source]

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 source]

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

See also[edit source]