Manual:メンテナンススクリプト
メンテナンス スクリプトは管理、取り込み、メンテナンス、レポート、アップグレードなどさまざまなタスクを実行する際に使用されます。
スクリプトは PHP で書かれており、MediaWiki インストレーションの下位ディレクトリ maintenance にあります。
MediaWiki には 200 を超えるメンテナンス スクリプトが含まれており、それぞれ一般的な有用性や品質の程度が異なります。 スクリプトを使う前には説明文書をしっかり読んでください。もし説明文書がなければ、スクリプトを実行する際さらに注意を払ってください。
php ./maintenance/run.php を通じて間接的に呼び出す必要があります。メンテナンス スクリプトを直接呼び出すと、警告が表示されます。In order to run most scripts, you will need access to the command line of the server or shell access through an SSH client like ssh or PuTTY. For details, see our information about running scripts.
If a script needs to modify the structure of a database (as does Update.php, for example), special configuration variables may need to be set in LocalSettings.php to allow this. See the relevant configuration information for details.
For an extensive list of scripts that may be run, see our list of scripts broken down by type.