Allow non-English wikis to rebuild l10n cache
authorBrad Jorsch <bjorsch@wikimedia.org>
Thu, 10 Jan 2013 20:32:40 +0000 (15:32 -0500)
committerBrad Jorsch <bjorsch@wikimedia.org>
Thu, 10 Jan 2013 20:54:15 +0000 (15:54 -0500)
commit05edbe67d2f59551d74930243da1c8dfbeaf7fc1
tree5a147fcd9d71a9a8eb597a42994c14104aee7fd0
parentdb3e3bcb4825b663fb4075d94645633fe03b218e
Allow non-English wikis to rebuild l10n cache

If a wiki is configured to use the l10n cache and $wgLanguageCode is set
to anything other that 'en', all maintenance scripts will fail until the
l10n cache is build for the first time. This includes
maintenance/rebuildLocalisationCache.php, the maintenance script that
builds the l10n cache.

To break this dependency, have maintenance/rebuildLocalisationCache.php
force $wgLanguageCode = 'en'.

Change-Id: Ia93998b0f85fd122dd7b01eeeef698f595360945
maintenance/rebuildLocalisationCache.php