dépôts
/
lhc
/
web
/
wiklou.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
(from parent 1:
a004874
)
Merge "(bug 44595) LanguageTest::testIsSupportedLanguage fails on Windows"
author
jenkins-bot
<jenkins-bot@gerrit.wikimedia.org>
Mon, 4 Feb 2013 18:58:51 +0000
(18:58 +0000)
committer
Gerrit Code Review
<gerrit@wikimedia.org>
Mon, 4 Feb 2013 18:58:51 +0000
(18:58 +0000)
languages/Language.php
patch
|
blob
|
history
diff --git
a/languages/Language.php
b/languages/Language.php
index
dd2fef6
..
5538ac8
100644
(file)
--- a/
languages/Language.php
+++ b/
languages/Language.php
@@
-254,7
+254,7
@@
class Language {
* @since 1.21
*/
public static function isSupportedLanguage( $code ) {
- return is_readable( self::getMessagesFileName( $code ) );
+ return
$code === strtolower( $code ) &&
is_readable( self::getMessagesFileName( $code ) );
}
/**