Manual:FixMergeHistoryCorruption.php/en

Details
fixMergeHistoryCorruption.php is a maintenance script to clears rows of pages corrupted by MergeHistory, those pages exist but have no visible revision.

These pages are completely inaccessible via the UI due to revision/title mismatch exceptions in RevisionStore and elsewhere.

These are rows in table that have   entry with corresponding   but no associated   entry in revision table. Such rows create ghost pages because their  is actually living on different pages (which possess the associated   on  table now).