Manual:Merging histories

Merging page histories is done using Special:MergeHistory. This lets the user merge revisions of the history of one source page into a newer page. The user can use the radio button column to merge in only the revisions created at and before the specified time. Special:Logs/merge will then present the user with an "Unmerge" button to reverse the merge. This is done by switching the source and destination pages in Special:MergeHistory.

Database
holds the page title of the destination page and the timestamp.

API
A sample API:Logevents API result: