Manual:orphans.php

From Linux Web Expert

Revision as of 03:45, 6 December 2023 by imported>FuzzyBot (Updating to match new version of source page)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)

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.

関連項目