From: Mr. E23 Date: Sat, 28 Feb 2004 02:29:51 +0000 (+0000) Subject: Fix for linkPrefixExtension feature X-Git-Tag: 1.3.0beta1~929 X-Git-Url: http://git.cyclocoop.org/%24action?a=commitdiff_plain;h=8c5cecc57709d17a523dfd3b15ae6f61dc1ed13f;p=lhc%2Fweb%2Fwiklou.git Fix for linkPrefixExtension feature --- diff --git a/includes/Parser.php b/includes/Parser.php index 61d893cfdf..2e6845da56 100644 --- a/includes/Parser.php +++ b/includes/Parser.php @@ -553,7 +553,6 @@ $t[] = "" ; global $wgTitle, $wgUser, $wgLang; global $wgLinkCache, $wgInterwikiMagic, $wgUseCategoryMagic; global $wgNamespacesWithSubpages, $wgLanguageCode; - global $wgUseLinkPrefixCombination; wfProfileIn( $fname = "OutputPage::replaceInternalLinks" ); wfProfileIn( "$fname-setup" ); @@ -591,7 +590,7 @@ $t[] = "" ; foreach ( $a as $line ) { $prefix = $new_prefix; - if ( $wgUseLinkPrefixCombination && preg_match( $e2, $line, $m ) ) { + if ( $wgLang->linkPrefixExtension() && preg_match( $e2, $line, $m ) ) { $new_prefix = $m[2]; $line = $m[1]; } else {