Manual:Rebuildmessages.php
Versión de MediaWiki: | ≥ 1.12 |
Archivo de MediaWiki: rebuildmessages.php | |
---|---|
Ubicación: | maintenance/ |
Código fuente: | master • 1.43.0 • 1.42.4 • 1.39.11 |
Clases: | RebuildMessages |
Detalles
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
In MediaWiki version 1.39.10 and earlier, you must invoke maintenance scripts using
php maintenance/scriptName.php
instead of php maintenance/run.php scriptName
.