dépôts
/
lhc
/
web
/
wiklou.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
cc4228b
)
Remove useless check for MEDIAWIKI definition
author
Chad Horohoe
<chadh@wikimedia.org>
Thu, 18 Aug 2016 17:11:01 +0000
(10:11 -0700)
committer
Chad Horohoe
<chadh@wikimedia.org>
Thu, 18 Aug 2016 17:15:10 +0000
(10:15 -0700)
This class isn't any more special than others, it can be autoloaded
like all the others and there's nothing to execute in the file scope
Change-Id: I7c415025c9c15cf19110f39452df3a14e44bf6f9
languages/Language.php
patch
|
blob
|
history
diff --git
a/languages/Language.php
b/languages/Language.php
index
d96710a
..
8b39d77
100644
(file)
--- a/
languages/Language.php
+++ b/
languages/Language.php
@@
-25,11
+25,6
@@
* @defgroup Language Language
*/
-if ( !defined( 'MEDIAWIKI' ) ) {
- echo "This file is part of MediaWiki, it is not a valid entry point.\n";
- exit( 1 );
-}
-
use CLDRPluralRuleParser\Evaluator;
/**