Extension:LocalisationUpdate/ja

The LocalisationUpdate extension allows to update the localizations for MediaWiki messages at any time, without needing to upgrade the MediaWiki software.

インストール
If localization updates don't seem to come through, you may need to run.

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

$wgLocalisationUpdateDirectory is set to false by default.

Default repository source to fetch translation. Github is set to default repository. This is added with version 1.1.
 * $wgLocalisationUpdateRepository

Array of repositories URLs from which to retrieve localisations for core MediaWiki and extensions. Default is set to Github's MediaWiki Git repositories and you should not change this unless you're using this performance improvement or otherwise know what you're doing. This is added with version 1.1.
 * $wgLocalisationUpdateRepositories

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

注記: LocalisationUpdate does not update automatically. If you want to update your localizations regularly, you need to setup a cron job yourself.

ローカルのチェックアウトのパフォーマンス改善
With version 1.1,

既知の問題点
If you enable this extension directly from the web installer, it doesn't configure the  variable, so if you don't configure it explicitly, it would throw an exception when viewing any page. You must manually configure that variable after installing the extension.

関連項目

 * Localisation/ja
 * Technical details about how this runs on Wikimedia projects.