Commons:History merging and splitting
Shortcut: COM:HMS· COM:HISTMERGE This page provides information on issues and solutions relating pages and files that underwent cut-and-paste moves (which its history has to be put back together), and inappropriate merging/overwriting (of which its history needs to be split).
Because most users have the ability to use the move page function, cut-and-paste moves are usually done by people who are not aware of that function, or when the move function fails (e.g. because the target has history), and people who aren't aware of the Administrators Noticeboard forum to ask for help from an administrator.
When a cut-and-paste move is done, the page history of a page can be split among two or more different pages. This is very undesirable, because we need to keep the history with the content for copyright reasons. In most circumstances, administrators are able to fix this by merging page histories. This could be done as follows (considering OldPage needs to merged into NewPage):
- Temporarily delete NewPage
- Move OldPage to NewPage, using the move functionality. [In case it is a file, you have to open the Move & Replace link in a new tab or disable AjaxQuickDelete in your preferences.] (Now the old versions are the whole of the new title's history.)
- Undelete the NewPage page, by
- Viewing the page/file history
- Clicking "View or restore ... deleted edits?", and
- Clicking on "Restore!". (Now the new title's history has both the old and new versions, including an extra copy of the most recent version of OldPage, created by the move tool.)
- At this stage, NewPage will only show the text "#REDIRECT NewPage" (assuming a redirect was the most recent version of OldPage, the NewPage page will now be showing whatever the most recent version of OldPage was). The last step is to revert (or RevisionDelete) to the last version of NewPage from before the move.
Over time, pages or files may change from one underlying topic to a completely separate topic. Normally, this should be accomplished through moves of pages, or by reuploading an altered file on a slightly different filename. However, if a user is unfamiliar with those processes they may simply change the subject of a page or file (overwriting the old). If this is not caught immediately it is very easy for the new topic to build up a substantial edit history of its own. Administrators can use the following steps to fix this problem and maintain separate histories for the separate topics:
- Temporarily delete the page/file (original name)
- Restore previous revisions up to (but not including) the point where the topic was changed.
- Move [without redirect] the restored versions (old topic) to the desired new name [In case it is a file, you have to open the Move & Replace link in a new tab or disable AjaxQuickDelete in your preferences]
- If there's already a file or page under the new name and you wish to histmerge into it:
- a) select the "delete the existing article" option, while moving;
- b) restore deleted revisions of new name.
- Restore new revisions of new topic (still at original article name)
A history merge could also be undone in this way.
Requesting a merge or split
To request a merge or split, fill the following template, and submit it at the bottom of this page. Remember, both files need to be of the same type. Merging of more than two files may also be possible in some cases.
==== [[:FILE/PAGE 1]] → [[:FILE/PAGE 2]] ==== * Request: [Split or Merge] * Reason: --~~~~
- For merges, replace
FILE/PAGE 2with the page you want
FILE/PAGE 1contents to be merged into.
- For splits, replace
FILE/PAGE 2with the new filename which you want the newer content to be moved from
- Request: Please revert to the old version of the file and delete the latest revision.
- Reason: Overwritten in 17.07.2013 by Maderabella Musical (
Current admin volunteers
Administrators, please add your name here if you would like to volunteer!
- Bencmq (talk · contribs)
- Rehman (talk · contribs)
- PierreSelim (talk · contribs)
- Ankry (talk · contribs)