summaryrefslogtreecommitdiff
path: root/www/wiki/extensions/LocalisationUpdate/README
blob: c5e2f72e0cf0635dc33b5577eefd556175869a23 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
== Localisation Update ==
Localisation Update extension can update the MediaWiki messages at any time,
without needing to upgrade the MediaWiki software.

For more information see:
 https://www.mediawiki.org/wiki/Extension:LocalisationUpdate

== Installation ==
1. Add the following to LocalSettings.php of your MediaWiki setup:

 wfLoadExtension( 'LocalisationUpdate' );
 $wgLocalisationUpdateDirectory = "$IP/cache";

2. Create a cache folder in the installation directory, and be sure the server
has permissions to write on it.

If localization updates don't seem to come through, you may need to run,

 php maintenance/rebuildLocalisationCache.php --force.

3. Whenever you want to run an update, run,

 php extensions/LocalisationUpdate/update.php

For detailed help, see:

 php extensions/LocalisationUpdate/update.php --help

4. If you are on Unix like system, you should add LocalisationUpdate to
crontab:

 crontab -e
 # Add the following line
 @daily php /path/to/your/wiki/extensions/LocalisationUpdate/update.php --quiet