Difference between revisions of "Reference:LocalisationUpdate"

Extension: LocalisationUpdate


Overview
Description: Allows to update the localizations for MediaWiki messages at any time, without needing to upgrade the MediaWiki software
State: stable Dependency: MediaWiki
Developer: Tom Maaswinkel, Niklas Laxström License: -
Type: MediaWiki Category: Infrastructure
Edition: BlueSpice free, BlueSpice pro
For more info, visit Mediawiki.

Features[edit source]

Keeps the localized messages as up to date as possible. 


Purpose[edit | edit source]

This MediaWiki extension fetches updates to MediaWiki core and extension localization files and makes them available to an installation without updating its own source. This allows us to pull updated translations being committed to development trunk even though our live install is running a deployment branch.


Usage[<a href="https://www.mediawiki.org/w/index.php?title=Extension:LocalisationUpdate&action=edit&section=3" title="Edit section: Usage">edit][edit | edit source]

Whenever you want to run an update, run php extensions/LocalisationUpdate/update.php on the command line, or set up a cron job.

LocalisationUpdate does not update translations automatically.


If you are on a 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

If localization updates don't seem to come through, you may need to run php maintenance/rebuildLocalisationCache.php --force.


Source:mediawiki


Attachments

Discussions