Manual:rebuildmessages.php
Appearance
| MediaWiki バージョン: | ≧ 1.12 |
| MediaWiki ファイル: rebuildmessages.php | |
|---|---|
| 場所: | maintenance/ |
| ソース コード: | master • 1.45.3 • 1.44.5 • 1.43.8 |
| クラス: | RebuildMessages |
詳細
rebuildmessages.php file is a maintenance script to purge all language messages from the cache.
MediaWiki provides $wgMessageCacheType to set cache through MessageCache.php. This script clears this cache.
オプション
このスクリプトにはオプションはありません。
使用法
php maintenance/run.php rebuildmessages
Terminal
$ php maintenance/run.php rebuildmessages Purging message cache for all languages on this wiki... Done
MediaWiki バージョン MediaWiki 1.39 以前では、メンテナンス スクリプトを
php maintenance/run.php スクリプト名 ではなく php maintenance/スクリプト名.php を使用して実行する必要があります。