Extension:LocalisationUpdate

What does this extension do
This extension can update the localizations for MediaWiki messages at any time, without needing to upgrade the MediaWiki software.

Installation
Add the following to LocalSettings.php

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

$wgLocalisationUpdateDirectory
Directory to store cache files in, if not set then it uses $wgCacheDirectory. LocalisationUpdate requires some place to store files in to work; if neither $wgLocalisationUpdateDirectory nor $wgCacheDirectory is set, LocalisationUpdate's update.php script will die with an error.

$wgLocalisationUpdateCoreURL, $wgLocalisationUpdateExtensionURL
Parameterized URLs to the repositories from which to retrieve localizations for core MediaWiki and extensions. They can be a http:// URL or an absolute path within the file system. They default to the MediaWiki Git repository and you should not change this unless you're using this performance improvement or otherwise know what you're doing.

$wgLocalisationUpdateRetryAttempts
LocalisationUpdate will retry to get the file contents (after a second) if it couldn't get the contents the first time. With $wgLocalisationUpdateRetryAttempts you can set the amount of attempts the script will make (defaults to 5).

Running an update
Whenever you want to run an update, run  on the command line, or set up a cron job.

NOTE: LocalisationUpdate does not update automatically. If you want to update your localizations regularly, you need to set up a cron job yourself.

Improve performance with a local checkout
Update this section: The SVN repositories do no longer contain the current code. Change commands to point to the Git repositories and use a Git client instead of an SVN client.

You can make the update script faster by having it grab localizations from a local checkout. This requires that the SVN command line client be installed.
 * 1) Checkout MediaWiki core and extension from SVN with:
 * 2) Set   in LocalSettings.php
 * 3) Make sure that you run   before updating LocalisationUpdate
 * 1) Set   in LocalSettings.php
 * 2) Make sure that you run   before updating LocalisationUpdate
 * 1) Make sure that you run   before updating LocalisationUpdate