It's not IE, it's the standards! We aren't supposed to have names that conflict...
authorAryeh Gregor <simetrical@users.mediawiki.org>
Thu, 13 Mar 2008 19:12:49 +0000 (19:12 +0000)
committerAryeh Gregor <simetrical@users.mediawiki.org>
Thu, 13 Mar 2008 19:12:49 +0000 (19:12 +0000)
RELEASE-NOTES
includes/Parser.php

index 375b950..caccce3 100644 (file)
@@ -82,7 +82,7 @@ it from source control: http://www.mediawiki.org/wiki/Download_from_SVN
 * Adding the fix for lists in RTL wikis to more skins, and fixing the image toc
 * (bug 8157) Remove redirects from Special:Unusedtemplates. Patch by WebBoy.
 * (bug 10721) Duplicate section anchors with differing case now disambiguated
-  for Internet Explorer's sake
+  for Internet Explorer's sake and standards compliance
 * (bug 13298) Tighter limits on Special:Newpages limits when embedding
 
 
index ef4e2a1..00b8900 100644 (file)
@@ -3494,8 +3494,7 @@ class Parser
                        # Save headline for section edit hint before it's escaped
                        $headlineHint = $safeHeadline;
                        $safeHeadline = Sanitizer::escapeId( $safeHeadline );
-                       # lowercase headline, since some browser don't distinguish
-                       # "Anchor" from "anchor" (bug #10721)
+                       # HTML names must be case-insensitively unique (bug 10721)
                        $arrayKey = strtolower( $safeHeadline );
 
                        # XXX : Is $refers[$headlineCount] ever accessed, actually ?