Jump to content

Manual:Orphans.php

From mediawiki.org

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).

Options

Option/Parameter Description
--fix Actually fix broken entries.

Usage

php maintenance/orphans.php [ --fix ]
Terminal
By default, the script finds but does not fix broken entries. To actually fix broken entries, run the script with --fix parameter.

See also