r38328 MediaWiki - Code Review archive

Repository:MediaWiki
Revision:r38327‎ | r38328 | r38329 >
Date:01:03, 1 August 2008
Author:simetrical
Status:old
Tags:
Comment:
Revert 38323 for now. Causes massive parser test failure. Also needs to update RELEASE-NOTES.
Modified paths:
  • /trunk/phase3/includes/Linker.php (modified) (history)

Diff [purge]

Index: trunk/phase3/includes/Linker.php
@@ -1493,7 +1493,7 @@
14941494 * @return string HTML headline
14951495 */
14961496 public function makeHeadline( $level, $attribs, $anchor, $text, $link ) {
1497 - return "<h$level id=\"$anchor\"$attribs$link <span class=\"mw-headline\">$text</span></h$level>";
 1497+ return "<a name=\"$anchor\"></a><h$level$attribs$link <span class=\"mw-headline\">$text</span></h$level>";
14981498 }
14991499
15001500 /**

Status & tagging log