Manual:rebuildLocalisationCache.php
Appearance
From mediawiki.org
Languages:
| MediaWiki file: rebuildLocalisationCache.php | |
|---|---|
| Location: | maintenance/ |
| Source code: | master • 1.44.2 • 1.43.5 • 1.39.15 |
| Classes: | RebuildLocalisationCache |
Details
[edit ]rebuildLocalisationCache.php file is a maintenance script to rebuild the localisation cache.
Useful if you disabled automatic updates using $wgLocalisationCacheConf ['manualRecache'] = true;
Usage
[edit ]php maintenance/run.php rebuildLocalisationCache [--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 $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+
|