Index: trunk/phase3/includes/Linker.php |
— | — | @@ -1346,10 +1346,9 @@ |
1347 | 1347 | if (isset($match[1][0]) && $match[1][0] == ':') |
1348 | 1348 | $match[1] = substr($match[1], 1); |
1349 | 1349 | list( $inside, $trail ) = Linker::splitTrail( $trail ); |
1350 | | - $linkTarget = Title::newFromText( $match[1] ); |
1351 | 1350 | $thelink = $this->link( |
1352 | | - linkTarget, |
1353 | | - $text . $inside, |
| 1351 | + Title::newFromText( $match[1] ), |
| 1352 | + $text . $inside |
1354 | 1353 | ) . $trail; |
1355 | 1354 | } |
1356 | 1355 | $comment = preg_replace( $linkRegexp, StringUtils::escapeRegexReplacement( $thelink ), $comment, 1 ); |