From 8c5cecc57709d17a523dfd3b15ae6f61dc1ed13f Mon Sep 17 00:00:00 2001 From: "Mr. E23" Date: Sat, 28 Feb 2004 02:29:51 +0000 Subject: [PATCH] Fix for linkPrefixExtension feature --- includes/Parser.php | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) 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 { -- 2.20.1