Manual:rebuildmessages.php

From mediawiki.org
MediaWiki version:
1.12

Details[edit]

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[edit]

This script does not accept any options.

Usage[edit]

php maintenance/rebuildmessages.php


Terminal
$ php maintenance/rebuildmessages.php

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

See also[edit]