Manual:Rebuildmessages.php/ru
Appearance
| Версия MediaWiki: | ≥ 1.12 |
| Файл MediaWiki: rebuildmessages.php | |
|---|---|
| Расположение: | maintenance/ |
| Исходный код: | master • 1.45.1 • 1.44.3 • 1.43.6 |
| Классы: | RebuildMessages |
Details
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.
Options
This script does not accept any options.
Usage
php maintenance/run.php rebuildmessages
Terminal
$ php maintenance/run.php rebuildmessages Purging message cache for all languages on this wiki... Done
В MediaWiki версии 1.43.6 и ранее скрпиты обслуживания нужно вызывать через
php maintenance/scriptName.php, а не через php maintenance/run.php scriptName.