Jump to content

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/run.php rebuildmessages
Terminal
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.

See also

[edit]