Manual:rebuildmessages.php

MediaWiki version:
1.12

DetailsEdit

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.

OptionsEdit

This script does not accept any options.

UsageEdit

php maintenance/rebuildmessages.php


Terminal
$ php maintenance/rebuildmessages.php

Purging message cache for all languages on this wiki... Done

See alsoEdit