Manual:Rebuildmessages.php
MediaWiki version: | ≥ 1.12 |
MediaWiki file: rebuildmessages.php | |
---|---|
Location: | maintenance/ |
Source code: | master • 1.42.3 • 1.41.4 • 1.39.10 |
Classes: | RebuildMessages |
Details
rebuildmessages.php file is a maintenance script to purge all language messages from the cache.
Introduced in r28789 (MW 1.12 ).
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/rebuildmessages.php
Terminal
$ php maintenance/rebuildmessages.php Purging message cache for all languages on this wiki... Done