fetchLanguageNames: fallback to default instead of false
authorrobin <robinp.1273@gmail.com>
Wed, 9 May 2012 23:39:11 +0000 (01:39 +0200)
committerrobin <robinp.1273@gmail.com>
Thu, 10 May 2012 19:30:59 +0000 (21:30 +0200)
commitaed0328558c299d63bf94415d15d9314d1377ca5
tree9f3e18b39a78dd5c983f6a1b1df8763ae6ea8402
parentc87a63935a2595f6c24f0a3af94cd29d2b82f80a
fetchLanguageNames: fallback to default instead of false

In Language::fetchLanguageNames, fallback to the default option (mw) instead of returning false if none of the three options (all/mw/mwfile) is recognized

Change-Id: I743540bb0d1e7572a5a7e2f4ed9b57e7552d99b2
languages/Language.php