* Fixed a content loss bug that would occour if
authorÆvar Arnfjörð Bjarmason <avar@users.mediawiki.org>
Mon, 8 Aug 2005 11:11:55 +0000 (11:11 +0000)
committerÆvar Arnfjörð Bjarmason <avar@users.mediawiki.org>
Mon, 8 Aug 2005 11:11:55 +0000 (11:11 +0000)
  $wgContLang->linkPrefixExtension() evaluated to true and the string being
  passed to Parser::replaceInternalLinks() matched msg:linkprefix

includes/Parser.php

index 106f889..93ff1be 100644 (file)
@@ -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;
                        }