From: Jens Frank Date: Mon, 23 Feb 2004 18:12:23 +0000 (+0000) Subject: Fix bug: Only first prefix link (aka Al[[Razi]]) was treated properly X-Git-Tag: 1.3.0beta1~959 X-Git-Url: http://git.cyclocoop.org/%24action?a=commitdiff_plain;h=7a4c57b0db4a8631818446426331e23f473d8b29;p=lhc%2Fweb%2Fwiklou.git Fix bug: Only first prefix link (aka Al[[Razi]]) was treated properly --- diff --git a/includes/OutputPage.php b/includes/OutputPage.php index 9c798787de..12e2c334ec 100644 --- a/includes/OutputPage.php +++ b/includes/OutputPage.php @@ -1009,7 +1009,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 {