Manual:FixMergeHistoryCorruption.php/de

MediaWiki Version:
1.37
Category:MediaWiki code/de#FixMergeHistoryCorruption.php

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 page table that have page_latest entry with corresponding rev_id but no associated rev_page entry in revision table. Such rows create ghost pages because their page_latest is actually living on different pages (which possess the associated rev_page on revision table now).

Optionen/Argumente

Option Beschreibung Notwendig?
--nsNamespace to restrict the queryOptional
--dry-runRun in dry-mode which does not delete anythingOptional
--deleteActually delete the found rowsOptional

Verwendung

php maintenance/run.php fixMergeHistoryCorruption [ --ns| --dry-run| --delete ]
Terminal
In MediaWiki version 1.39.13 and earlier, you must invoke maintenance scripts using php maintenance/scriptName.php instead of php maintenance/run.php scriptName.

Siehe auch

Category:Maintenance scripts/de Category:Content maintenance scripts/de
Category:Content maintenance scripts/de Category:Maintenance scripts/de Category:MediaWiki code/de