From 88d72e04d10806a34157562a078db3884a09860d Mon Sep 17 00:00:00 2001 From: Jens Frank Date: Sun, 14 Mar 2004 21:29:30 +0000 Subject: [PATCH] fixed language linking bug left from elimination of globals --- includes/Parser.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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; -- 2.20.1