From 7a4c57b0db4a8631818446426331e23f473d8b29 Mon Sep 17 00:00:00 2001 From: Jens Frank Date: Mon, 23 Feb 2004 18:12:23 +0000 Subject: [PATCH] Fix bug: Only first prefix link (aka Al[[Razi]]) was treated properly --- includes/OutputPage.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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 { -- 2.20.1