From mediawiki.org
Jump to navigation Jump to search
This page is a translated version of the page Manual:RebuildLocalisationCache.php and the translation is 46% complete.
Other languages:
English • ‎español • ‎français • ‎polski • ‎português do Brasil • ‎বাংলা • ‎日本語


rebuildLocalisationCache.php file is a maintenance script to rebuild the localisation cache. Useful if you disabled automatic updates using $wgLocalisationCacheConf ['manualRecache'] = true;


php rebuildLocalisationCache.php [--force] [--threads=N] [--outdir=PATH] [--lang=LANG1,LANG2...]


Opcja/Parametr Opis
--force rebuild all files, even the ones that are not out of date.
--threads=<number> fork more threads.
--outdir=<folder> override the output directory (normally $wgCacheDirectory ). MW 1.20+
--lang=<langcode> 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).