Index: trunk/phase3/includes/Linker.php |
— | — | @@ -354,16 +354,8 @@ |
355 | 355 | * the end of the link. |
356 | 356 | */ |
357 | 357 | function makeStubLinkObj( $nt, $text = '', $query = '', $trail = '', $prefix = '' ) { |
358 | | - $u = $nt->escapeLocalURL( $query ); |
359 | | - |
360 | | - if ( '' == $text ) { |
361 | | - $text = htmlspecialchars( $nt->getPrefixedText() ); |
362 | | - } |
363 | 358 | $style = $this->getInternalLinkAttributesObj( $nt, $text, 'stub' ); |
364 | | - |
365 | | - list( $inside, $trail ) = Linker::splitTrail( $trail ); |
366 | | - $s = "<a href=\"{$u}\"{$style}>{$prefix}{$text}{$inside}</a>{$trail}"; |
367 | | - return $s; |
| 359 | + return $this->makeKnownLinkObj( $nt, $text, $query, $trail, $prefix, '', $style ); |
368 | 360 | } |
369 | 361 | |
370 | 362 | /** |
Index: trunk/phase3/RELEASE-NOTES |
— | — | @@ -355,6 +355,7 @@ |
356 | 356 | * (bug 9669) Fix limit ordering for rebuildrecentchanges; broken since |
357 | 357 | converted from 1.4 to 1.5 schema |
358 | 358 | * (bug 9682) Revert PHP 5.1 dependency on warning suppression for SVN info |
| 359 | +* (bug 5959) Anchors dropped from stub links |
359 | 360 | |
360 | 361 | |
361 | 362 | == Maintenance == |