Index: trunk/phase3/includes/Linker.php |
— | — | @@ -1519,7 +1519,7 @@ |
1520 | 1520 | * @return string HTML headline |
1521 | 1521 | */ |
1522 | 1522 | public function makeHeadline( $level, $attribs, $anchor, $text, $link ) { |
1523 | | - return "<a name=\"$anchor\"></a><h$level$attribs$link <span class=\"mw-headline\">$text</span></h$level>"; |
| 1523 | + return "<a name=\"$anchor\" id=\"$anchor\"></a><h$level$attribs$link <span class=\"mw-headline\">$text</span></h$level>"; |
1524 | 1524 | } |
1525 | 1525 | |
1526 | 1526 | /** |
Index: trunk/phase3/RELEASE-NOTES |
— | — | @@ -436,6 +436,8 @@ |
437 | 437 | * (bug 16712) Special:NewFiles updated to use "newer"/"older" paging messages |
438 | 438 | for clarity over "previous/next" |
439 | 439 | * (bug 16612) Fixed "noprint" class for Modern skin print style |
| 440 | +* Section anchors now have an "id" attribute as well as a "name" attribute, |
| 441 | + even when Tidy is not used |
440 | 442 | |
441 | 443 | === API changes in 1.14 === |
442 | 444 | |