Manual:rebuildLocalisationCache.php
From MediaWiki.org
MediaWiki File: rebuildLocalisationCache.php | |
---|---|
Location: | maintenance/ |
Source code: | master • 1.22.5 • 1.21.8 |
Classes: | RebuildLocalisationCache |
rebuildLocalisationCache.php is one of the scripts included in the /maintenance/ directory of your Mediawiki installation. Its purpose is to Rebuild the localisation cache. Useful if you disabled automatic updates using $wgLocalisationCacheConf['manualRecache'] = true
;
Usage:
php rebuildLocalisationCache.php [--force] [--threads=N] [--outdir=PATH] [--lang=LANG1,LANG2...]
- Use
--force
to rebuild all files, even the ones that are not out of date. - Use
--threads=<number>
to fork more threads. - Use
--outdir=<folder>
to override the output directory (normally $wgCacheDirectory). MW 1.20+ - Use
--lang=<langcode>
to rebuild only these languages (accepts a comma separated list of language codes, like--lang=de,en,es,it
). MW 1.22+
Introduced in r52503 (MW 1.16).