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:
f82b49e
)
$wgContLang no longer used here
author
Platonides
<platonides@users.mediawiki.org>
Wed, 29 Jun 2011 13:23:51 +0000
(13:23 +0000)
committer
Platonides
<platonides@users.mediawiki.org>
Wed, 29 Jun 2011 13:23:51 +0000
(13:23 +0000)
includes/parser/Parser.php
patch
|
blob
|
history
diff --git
a/includes/parser/Parser.php
b/includes/parser/Parser.php
index
a2d2945
..
39637bf
100644
(file)
--- a/
includes/parser/Parser.php
+++ b/
includes/parser/Parser.php
@@
-667,7
+667,7
@@
class Parser {
* @return Language
*/
function getFunctionLang() {
- global $wgLang
, $wgContLang
;
+ global $wgLang;
$target = $this->mOptions->getTargetLanguage();
if ( $target !== null ) {
@@
-3875,7
+3875,7
@@
class Parser {
* @private
*/
function formatHeadings( $text, $origText, $isMain=true ) {
- global $wgMaxTocLevel, $wg
ContLang, $wg
Html5, $wgExperimentalHtmlIds;
+ global $wgMaxTocLevel, $wgHtml5, $wgExperimentalHtmlIds;
# Inhibit editsection links if requested in the page
if ( isset( $this->mDoubleUnderscores['noeditsection'] ) ) {