Manual:Orphans.php/fr
Fichier MediaWiki : orphans.php | |
---|---|
Emplacement : | maintenance/ |
Code source : | master • 1.38.2 • 1.37.3 • 1.35.7 |
Classes : | Orphans |
orphans.php est un script de maintenance Mediawiki qui cherche les révisions orphelines (= révisons pointant vers des pages inexistantes) ou des pages sans enfants (= pages qui pointent vers des révisions inexistantes).
Options
Option/paramètre | Description |
---|---|
--fix | Actually fix broken entries. |
Utilisation
php maintenance/orphans.php [ --fix ]
Terminal
$ php maintenance/orphans.php Checking for orphan revision table entries... (this may take a while on a large wiki) No orphans! Yay! Checking for pages whose page_latest links are incorrect... (this may take a while on a large wiki) No pages with incorrect latest revision. Yay!
By default, the script finds but does not fix broken entries. To actually fix broken entries, run the script with --fix parameter.