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:
1235146
)
Unused global
author
Platonides
<platonides@users.mediawiki.org>
Wed, 5 Jan 2011 23:59:04 +0000
(23:59 +0000)
committer
Platonides
<platonides@users.mediawiki.org>
Wed, 5 Jan 2011 23:59:04 +0000
(23:59 +0000)
includes/api/ApiParse.php
patch
|
blob
|
history
diff --git
a/includes/api/ApiParse.php
b/includes/api/ApiParse.php
index
cbd5d0b
..
52c9749
100644
(file)
--- a/
includes/api/ApiParse.php
+++ b/
includes/api/ApiParse.php
@@
-65,7
+65,7
@@
class ApiParse extends ApiBase {
// The parser needs $wgTitle to be set, apparently the
// $title parameter in Parser::parse isn't enough *sigh*
- global $wgParser, $wgUser, $wgTitle, $wg
EnableParserCache, $wg
Lang;
+ global $wgParser, $wgUser, $wgTitle, $wgLang;
// Currently unnecessary, code to act as a safeguard against any change in current behaviour of uselang breaks
$oldLang = null;