From: Ilmari Karonen Date: Mon, 22 Dec 2008 11:45:54 +0000 (+0000) Subject: Add "id" attribute to section anchors, per discussion on wikitech-l. X-Git-Tag: 1.31.0-rc.0~43842 X-Git-Url: https://git.cyclocoop.org/%7B%24www_url%7Dadmin/compta/banques/?a=commitdiff_plain;h=9651ba66535653626e04b54272679c205dd23e9a;p=lhc%2Fweb%2Fwiklou.git Add "id" attribute to section anchors, per discussion on wikitech-l. --- diff --git a/RELEASE-NOTES b/RELEASE-NOTES index 1732d3db25..4422e99aa8 100644 --- a/RELEASE-NOTES +++ b/RELEASE-NOTES @@ -436,6 +436,8 @@ The following extensions are migrated into MediaWiki 1.14: * (bug 16712) Special:NewFiles updated to use "newer"/"older" paging messages for clarity over "previous/next" * (bug 16612) Fixed "noprint" class for Modern skin print style +* Section anchors now have an "id" attribute as well as a "name" attribute, + even when Tidy is not used === API changes in 1.14 === diff --git a/includes/Linker.php b/includes/Linker.php index 7c52476ad3..870112efa9 100644 --- a/includes/Linker.php +++ b/includes/Linker.php @@ -1519,7 +1519,7 @@ class Linker { * @return string HTML headline */ public function makeHeadline( $level, $attribs, $anchor, $text, $link ) { - return "$text"; + return "$text"; } /**