This page is a translated version of the page Manual:Orphans.php and the translation is 50% complete.

orphans.php is a MediaWiki maintenance script that looks for 'orphan' revisions (= revisions, which point to a non-existing page) and for 'childless' pages with no revisions (= pages, which point to a non-existing revision).


orphans.php accepts only one option.

Opcja/Parametr Opis
--fix Actually fix broken entries.


php maintenance/orphans.php [ --fix ]

It runs script in dry mode. To actually fix broken entries, run the script with --fix parameter.

See also