r51545 MediaWiki - Code Review archive

Repository:MediaWiki
Revision:r51544‎ | r51545 | r51546 >
Date:17:04, 6 June 2009
Author:siebrand
Status:ok
Tags:
Comment:
Follow-up to r51543: fix syntax error in Linker.php
Modified paths:
  • /trunk/phase3/includes/Linker.php (modified) (history)

Diff [purge]

Index: trunk/phase3/includes/Linker.php
@@ -1346,10 +1346,9 @@
13471347 if (isset($match[1][0]) && $match[1][0] == ':')
13481348 $match[1] = substr($match[1], 1);
13491349 list( $inside, $trail ) = Linker::splitTrail( $trail );
1350 - $linkTarget = Title::newFromText( $match[1] );
13511350 $thelink = $this->link(
1352 - linkTarget,
1353 - $text . $inside,
 1351+ Title::newFromText( $match[1] ),
 1352+ $text . $inside
13541353 ) . $trail;
13551354 }
13561355 $comment = preg_replace( $linkRegexp, StringUtils::escapeRegexReplacement( $thelink ), $comment, 1 );

Past revisions this follows-up on

RevisionCommit summaryAuthorDate
r51543* replace use of deprecated makeLink() by link() in core...siebrand17:00, 6 June 2009

Status & tagging log