Commons:History merging and splitting

Translate this page; This page contains changes which are not marked for translation.
Other languages:
Deutsch • ‎English • ‎Nederlands • ‎dansk • ‎español • ‎français • ‎polski • ‎português do Brasil • ‎русский • ‎українська • ‎العربية • ‎नेपाली • ‎日本語
Page history merge Simple.png

Shortcuts: 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).

History mergingEdit

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.

Instructions for admins
  1. Temporarily delete NewPage
  2. 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 history versions are the whole of the new title’s.)
  3. Undelete the NewPage page, by:
    1. Viewing the page/file history
    2. Clicking “View or restore … deleted edits?”, and
    3. 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.)
  4. 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.

Special:MergeHistory makes it possible to automatically merge the history of two pages.

History splittingEdit


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

Instructions for admins
  1. Temporarily delete the page/file (original title)
  2. Restore previous revisions up to (but not including) the point where the topic was changed.
  3. Move (without redirect) the restored versions (old topic) to the desired new title. (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 title and you wish to histmerge into it:
    a) select the “delete the existing article” option, while moving;
    b) restore deleted revisions of new title.
  4. Restore new revisions of new topic (still at original title).

A history merge could also be undone in this way.

Requesting a merge or splitEdit

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 2 with the page you want FILE/PAGE 1 contents to be merged into.
  • For splits, replace FILE/PAGE 2 with the new filename which you want the newer content to be moved from FILE/PAGE 1.

Current requests

View Edit Add topic

Split between years old revisionsEdit

Linked Variants

I will afterwards do necessary changes. Pinging @Cush. — Speravir – 22:00, 24 June 2020 (UTC)

Does it have to be "Standard Model of Elementary Particles bright.svg" ? Something like "Elementary Particles.svg" would be nice, and the name is not taken yet, and the suffixes for variant charts can be maintained. Cush (talk) 13:28, 25 June 2020 (UTC)
changed the above name. Does this have any effect? Cush (talk) 13:33, 25 June 2020 (UTC)
No, Cush, all fine as long as the new not yet exists like in this case. You have been fast enough for the name change. But the uses have later to moved to the new name separately. Let's wait. — Speravir – 23:02, 25 June 2020 (UTC)— Speravir – 23:02, 25 June 2020 (UTC)
The time you have specified for the upload is in your timezone, my timezone is EST and I am not able to identify the uploads. --Sreejith K (talk) 13:25, 29 June 2020 (UTC)
Supposed split
The split should be between 20130622193522 and 20130622201444 Cush (talk) 20:48, 1 July 2020 (UTC)
Sorry, Sreejith K. (There are 2 days in between but:) The split must be between rev. 98569791 (20 June 2013, 21:28:38 UTC) and rev. 98673878 (22 June 2013, 19:35:24 UTC), i.e. Cush’s given dates are not right. (This should easily be visible by looking on the file history.) — Speravir – 00:37, 5 July 2020 (UTC)
@Speravir the two links you posted target visually identical versions. The split is supposed to separate the variants with the boxes from those with the rounded outlines (see thumb), the IDs of which I took from the URLs. And again, you are attacking me. Cush (talk) 12:41, 5 July 2020 (UTC)
No, I do not, Cush. If I am convinced you are not right here I have to tell it the executing admin. See how the very first revision page looks today and be amazed. See also the edit comments of the revisions I linked, and your snap shot of the file history proves the split point I’ve suggested. I hope everything is cleared now, Sreejith K or 4nn1l2. — Speravir – 22:22, 7 July 2020 (UTC)

File:Marxists Internet Archive.jpgFile:Marxists Internet Archive 2009.jpgEdit

--pandakekok9 11:09, 29 June 2020 (UTC)

  Done - Please do the cleanups and add categories. --Sreejith K (talk) 13:24, 29 June 2020 (UTC)
  This section is resolved and can be archived. If you disagree, replace this template with your comment. --Sreejith K (talk) 13:24, 29 June 2020 (UTC)

File:Flag of Wallonia.svgFile:Flag of Wallonia (2010 & 2017).svg and File:Flag of Wallonia (1913).svgEdit

File:Flag of Wallonia.svg will get a new vectorization based on the current official flag this evening. Its history can remain or can be cleaned up. --Tom-L (talk) 10:01, 7 July 2020 (UTC)

I have moved all the old revisions to File:Flag of Wallonia (2010 et 2017).svg. Do you need only your edits on File:Flag of Wallonia.svg moved to a new file? I am trying to understand how that helps because every other edit on this file is just a revert to an earlier version. --Sreejith K (talk) 14:48, 8 July 2020 (UTC)
That's true. I'll do a clean re-upload. Tom-L (talk) 16:48, 8 July 2020 (UTC)
  This section is resolved and can be archived. If you disagree, replace this template with your comment. --Sreejith K (talk) 16:39, 9 July 2020 (UTC)

File:NYC Transit Authority GMC T6H-5305A 8928.jpgFile:NYC Transit Authority GMC T6H-5305A 8928 at Floyd Bennett Field.jpgEdit

  • Request: Split older version to new name
  • Reason: The same bus, but in a different location in New York City at a different time. There's a remote possibility for a new category exclusively for this bus, but that's not necessarily guaranteed. --DanTD (talk) 15:16, 8 July 2020 (UTC)
  Done --Sreejith K (talk) 17:01, 8 July 2020 (UTC)
  This section is resolved and can be archived. If you disagree, replace this template with your comment. --Sreejith K (talk) 17:01, 8 July 2020 (UTC)

File:Coach USA Sprinter van.jpgFile:Coach USA Sprinter van with MegaBus ad.jpgEdit

  • Request: Split newer version to new name
  • Reason: The same make and model of bus (in fact, the same bus by the fleet number) in the same general area (St. John's University), but the newer version is wrapped in an advertisement. Additional, a category for Category:Dodge Sprinter (first generation) buses exists, but only contains one image. Splitting this can double the number in that category, not to mention provide two separate categories for two different times in New York City. ----DanTD (talk) 15:27, 8 July 2020 (UTC)
  Done --Sreejith K (talk) 17:02, 8 July 2020 (UTC)
  Not done -- Actually the old file is missing. I was trying to keep that in the original name. ----DanTD (talk) 17:20, 8 July 2020 (UTC)
Comment: I found the archive if you need it for restoration. --DanTD (talk) 17:33, 8 July 2020 (UTC)
Purge your cache --Sreejith K (talk) 17:58, 8 July 2020 (UTC)
I did that eventually, but it only lasted a little while. Thankfully, it all seems to be good now. ----DanTD (talk) 21:58, 8 July 2020 (UTC)
  This section is resolved and can be archived. If you disagree, replace this template with your comment. --Sreejith K (talk) 16:32, 9 July 2020 (UTC)

File:Aden 1939-1r.jpgFile:Aden 1939-1r (mint).jpgEdit

  • Reason: Same stamp in used and mint versions were overwritten in the same file and need to be separated.

--Ww2censor (talk) 15:17, 9 July 2020 (UTC)

  Done - Please do the cleanups --Sreejith K (talk) 16:35, 9 July 2020 (UTC)
  This section is resolved and can be archived. If you disagree, replace this template with your comment. --Sreejith K (talk) 16:35, 9 July 2020 (UTC)

File:First Presbyterian Church Cass City.jpgFile:First Presbyterian Church Cass City 2.jpgEdit

  • Request: Split
  • Reason: Someone wrote over my photo.

--kennethaw88talk 05:15, 10 July 2020 (UTC)

See alsoEdit