From: Ævar Arnfjörð Bjarmason Date: Mon, 8 Aug 2005 11:11:55 +0000 (+0000) Subject: * Fixed a content loss bug that would occour if X-Git-Tag: 1.6.0~2048 X-Git-Url: http://git.cyclocoop.org/%24href?a=commitdiff_plain;h=275fbe7f5219b74b4f4a36b53f9556c65d8228ff;p=lhc%2Fweb%2Fwiklou.git * 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 --- 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; }