[ Index ] |
PHP Cross Reference of MediaWiki-1.24.0 |
[Source view] [Print] [Project Stats]
Rebuild the localisation cache. Useful if you disabled automatic updates using $wgLocalisationCacheConf['manualRecache'] = true; Usage: php rebuildLocalisationCache.php [--force] [--threads=N]
File Size: | 181 lines (6 kb) |
Included or required: | 0 times |
Referenced: | 0 times |
Includes or requires: | 1 file maintenance/Maintenance.php |
RebuildLocalisationCache:: (6 methods):
__construct()
memoryLimit()
finalSetup()
execute()
doRebuild()
setForce()
Class: RebuildLocalisationCache - X-Ref
Maintenance script to rebuild the localisation cache.__construct() X-Ref |
No description |
memoryLimit() X-Ref |
No description |
finalSetup() X-Ref |
No description |
execute() X-Ref |
No description |
doRebuild( $codes, $lc, $force ) X-Ref |
Helper function to rebuild list of languages codes. Prints the code for each language which is rebuilt. param: array $codes List of language codes to rebuild. param: LocalisationCache $lc Instance of LocalisationCacheBulkLoad (?) param: bool $force Rebuild up-to-date languages return: int Number of rebuilt languages |
setForce( $forced = true ) X-Ref |
Sets whether a run of this maintenance script has the force parameter set param: bool $forced |
Generated: Fri Nov 28 14:03:12 2014 | Cross-referenced by PHPXref 0.7.1 |