From: Jens Frank Date: Sun, 14 Mar 2004 21:29:30 +0000 (+0000) Subject: fixed language linking bug left from elimination of globals X-Git-Tag: 1.3.0beta1~792 X-Git-Url: http://git.cyclocoop.org/%22.%24h.%22?a=commitdiff_plain;h=88d72e04d10806a34157562a078db3884a09860d;p=lhc%2Fweb%2Fwiklou.git fixed language linking bug left from elimination of globals --- diff --git a/includes/Parser.php b/includes/Parser.php index 16ab81092b..11812bf62e 100644 --- a/includes/Parser.php +++ b/includes/Parser.php @@ -792,7 +792,7 @@ class Parser $ns = $nt->getNamespace(); $iw = $nt->getInterWiki(); if( $noforce ) { - if( $iw && $wgInterwikiMagic && $nottalk && $wgLang->getLanguageName( $iw ) ) { + if( $iw && $this->mOptions->getInterwikiMagic() && $nottalk && $wgLang->getLanguageName( $iw ) ) { array_push( $this->mOutput->mLanguageLinks, $nt->getPrefixedText() ); $s .= $prefix . $trail; return $s;