Revision: 51545 Author: siebrand Date: 2009-06-06 17:04:07 +0000 (Sat, 06 Jun 2009)
Log Message: ----------- Follow-up to r51543: fix syntax error in Linker.php Modified Paths: -------------- trunk/phase3/includes/Linker.php Modified: trunk/phase3/includes/Linker.php =================================================================== --- trunk/phase3/includes/Linker.php 2009-06-06 17:01:24 UTC (rev 51544) +++ trunk/phase3/includes/Linker.php 2009-06-06 17:04:07 UTC (rev 51545) @@ -1346,10 +1346,9 @@ if (isset($match[1][0]) && $match[1][0] == ':') $match[1] = substr($match[1], 1); list( $inside, $trail ) = Linker::splitTrail( $trail ); - $linkTarget = Title::newFromText( $match[1] ); $thelink = $this->link( - linkTarget, - $text . $inside, + Title::newFromText( $match[1] ), + $text . $inside ) . $trail; } $comment = preg_replace( $linkRegexp, StringUtils::escapeRegexReplacement( $thelink ), $comment, 1 ); _______________________________________________ MediaWiki-CVS mailing list MediaWiki-CVS@lists.wikimedia.org https://lists.wikimedia.org/mailman/listinfo/mediawiki-cvs