rebuildLocalisationCache: Implement --lang option
authorAntoine Musso <hashar@free.fr>
Tue, 30 Apr 2013 14:50:20 +0000 (16:50 +0200)
committerAntoine Musso <hashar@free.fr>
Wed, 1 May 2013 10:33:12 +0000 (12:33 +0200)
commita677d0fae048597f99100907cee0a91b9c84e8cb
tree0468c6f3d1625cd4c493293fccf5e305db8a3f39
parent4607c38b251b5e611a4c45499a98b365bd6ecec9
rebuildLocalisationCache: Implement --lang option

It would rebuild all language caches by default.
We were lacking an option to rebuild only one language, for example when
it get corrupted or the cache file for a language got removed.

The new --lang accepts a list of comma separated langs to rebuild the
cache for.  Example usage:

 php rebuildLocalisationCache.php --lang en,fr,de

Nonexistent languages are simply ignored. The script dies if it ends up
with no languages to rebuild.

Change-Id: I4c5e69abb76ffd8b88b595e3687edab3bb267ccc
RELEASE-NOTES-1.22
maintenance/rebuildLocalisationCache.php