Jump to content

Manual:メンテナンススクリプト

From mediawiki.org
This page is a translated version of the page Manual:Maintenance scripts and the translation is 100% complete.
  • 利用者
  • システム管理者
  • 開発者
  • 翻訳者

メンテナンス スクリプトは管理、取り込み、メンテナンス、レポート、アップグレードなどさまざまなタスクを実行する際に使用されます。 スクリプトは PHP で書かれており、MediaWiki インストレーションの下位ディレクトリ maintenance にあります。

MediaWiki には 200 を超える メンテナンス スクリプトが含まれており、それぞれ一般的な有用性や品質の程度が異なります。 スクリプトを使う前には説明文書をしっかり読んでください。もし説明文書がなければ、スクリプトを実行する際さらに注意を払ってください。

MediaWiki 1.40 以降、メンテナンス スクリプトは 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.

関連項目