r18950 MediaWiki - Code Review archive
Repository:
MediaWiki
Revision:
<
r18949
|
r18950
|
r18951
>
Date:
09:45, 8 January 2007
Author:
brion
Status:
old
Tags:
Comment:
Restore previous heading formatting behavior to fix 12 parser tests broken by
r18948
, which claimed it wasn't supposed to impact output. :)
Modified paths:
/trunk/phase3/includes/Linker.php
(modified) (
history
)
Diff
[
purge
]
Index: trunk/phase3/includes/Linker.php
—
—
@@ -1070,7 +1070,7 @@
1071
1071
* @return string HTML headline
1072
1072
*/
1073
1073
public function makeHeadline( $level, $attribs, $anchor, $text, $link ) {
1074
- return "<a name=\"$anchor\" id=\"$anchor\"></a> <h$level$attribs$link <span class=\"mw-headline\">$text</span></h$level>";
1074
+ return "<a name=\"$anchor\"></a><h$level$attribs$link <span class=\"mw-headline\">$text</span></h$level>";
1075
1075
}
1076
1076
1077
1077
/**
Past revisions this follows-up on
Revision
Commit summary
Author
Date
r18948
* Move headline construction to Linker function (from being hardcoded in Parser)...
simetrical
02:11, 8 January 2007