Jump to content

手册:Orphans.php

From mediawiki.org
This page is a translated version of the page Manual:Orphans.php and the translation is 60% 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).

用法

选项/参数 描述
--fix Actually fix broken entries.

用法

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.

參見