From 275fbe7f5219b74b4f4a36b53f9556c65d8228ff Mon Sep 17 00:00:00 2001 From: =?utf8?q?=C3=86var=20Arnfj=C3=B6r=C3=B0=20Bjarmason?= Date: Mon, 8 Aug 2005 11:11:55 +0000 Subject: [PATCH] * Fixed a content loss bug that would occour if $wgContLang->linkPrefixExtension() evaluated to true and the string being passed to Parser::replaceInternalLinks() matched msg:linkprefix --- includes/Parser.php | 1 - 1 file changed, 1 deletion(-) diff --git a/includes/Parser.php b/includes/Parser.php index 106f889fec..93ff1be2a6 100644 --- a/includes/Parser.php +++ b/includes/Parser.php @@ -1238,7 +1238,6 @@ class Parser if ( $useLinkPrefixExtension ) { if ( preg_match( $e2, $s, $m ) ) { $first_prefix = $m[2]; - $s = $m[1]; } else { $first_prefix = false; } -- 2.20.1