MediaWiki Administrator's Handbook/Edit History
Edit History 
- See also: Meta: Help:Moving a page: Fixing cut and paste moves
- See also: Wikipedia:How to fix cut-and-paste moves
- See also: Help:Moving a page: Fixing cut and paste moves
- WARNING – undoing this procedure is extremely tedious. Please read above links carefully and be sure you actually want to do this – it can get very messy and complicated.
Note that you can only merge or split edit histories – you cannot copy them (without the Duplicator extension), i.e., cannot create two duplicate copies of the same edit history.
Edit histories should generally be merged if pages in the main namespace copy contents from pages in the main namespace of a sister Wikimedia project in order to comply with the GFDL license. For similar reasons if a page in the main namespace is split into several pages such as from becoming big or due to reorganization it is generally a good idea to split the edit history among the new pages.
Some Wikimedia projects may include additional namespaces in which edit histories should be merged or split up.
- Wikibooks - Cookbook
Merging the edit histories of two or more pages is easy. Follow these simple instructions to do so. Suppose you wish to merge "Foo" and "Bar" (and maybe "Bar 2") to "Foo".
- open the page you wish to merge the edit histories into and click the edit link – you will keep this open for a while. ("Foo" → Edit)
- open a window for each page whose edit history you plan to merge with step 1. ("Bar", "Bar 2")
- click on the move link of each page you opened in step 2. ("Bar" → Move)
- enter into the "To new title" field box for each page, the page name from step 1 and confirm deletion of the existing page. (Move "Bar" to "Foo"; confirm delete "Foo")
- close all windows open in step 2 and in a open a copy of the page in step 1 in a new window. (Close "Bar", "Bar 2", open a new "Foo")
- click on the history link and then the view or restore link. ("Foo" → History → View/Restore)
- confirm you wish to restore edit histories. (Confirm restore "Foo" History)
- go back to the page and click the edit link. ("Foo" → Edit)
- copy and paste the contents of the edit box in step 1 into the edit box in previous step. (Copy and paste from old "Foo" to merged "Foo")
- enter "restored current version" into the summary box and click save page to restore back the current version. (Save!)