Index: trunk/phase3/includes/Linker.php |
— | — | @@ -102,7 +102,7 @@ |
103 | 103 | wfProfileIn( 'Linker::makeLink' ); |
104 | 104 | $nt = Title::newFromText( $title ); |
105 | 105 | if ($nt) { |
106 | | - $result = $this->makeLinkObj( Title::newFromText( $title ), $text, $query, $trail ); |
| 106 | + $result = $this->makeLinkObj( $nt, $text, $query, $trail ); |
107 | 107 | } else { |
108 | 108 | wfDebug( 'Invalid title passed to Linker::makeLink(): "'.$title."\"\n" ); |
109 | 109 | $result = $text == "" ? $title : $text; |