Adding messages for new global group 'sysadmin'. Brion, Tim, Kate and JeLuF are all...
authorJon Harald Søby <jhsoby@users.mediawiki.org>
Sat, 2 Aug 2008 01:04:25 +0000 (01:04 +0000)
committerJon Harald Søby <jhsoby@users.mediawiki.org>
Sat, 2 Aug 2008 01:04:25 +0000 (01:04 +0000)
includes/Linker.php

index f9eb94b..01938c0 100644 (file)
@@ -1496,7 +1496,7 @@ class Linker {
         * Create a headline for content
         *
         * @param int    $level   The level of the headline (1-6)
-        * @param string $attribs Any attributes for the headline, starting with a space and ending with '>'
+        * @param string $attribs Any attrimbutes for the headline, starting with a space and ending with '>'
         *                        This *must* be at least '>' for no attribs
         * @param string $anchor  The anchor to give the headline (the bit after the #)
         * @param string $text    The text of the header
@@ -1505,7 +1505,7 @@ class Linker {
         * @return string HTML headline
         */
        public function makeHeadline( $level, $attribs, $anchor, $text, $link ) {
-               return "<a name=\"$anchor\"></a><h$level$attribs$link <span class=\"mw-headline\">$text</span></h$level>";
+               return "<h$level id=\"$anchor\"$attribs$link <span class=\"mw-headline\">$text</span></h$level>";
        }
 
        /**