Manual:rebuildLocalisationCache.php

From MediaWiki.org
Jump to: navigation, search
Translate this page; This page contains changes which are not marked for translation.

Other languages:
català • ‎Deutsch • ‎English • ‎español • ‎suomi • ‎français • ‎italiano • ‎日本語 • ‎Nederlands • ‎polski • ‎português • ‎português do Brasil

Details[edit]

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

Usage[edit]

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

Parameters[edit]

Option/Parameter Description
--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 $wgCacheDirectoryManual:$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).