https://bugzilla.wikimedia.org/show_bug.cgi?id=19890

           Summary: Invalid HTML
           Product: MediaWiki
           Version: 1.16-svn
          Platform: All
               URL: http://validator.w3.org/check?uri=http%3A%2F%2Fzh.wikipe
                    dia.org%2F
        OS/Version: All
            Status: NEW
          Severity: normal
          Priority: Normal
         Component: Page rendering
        AssignedTo: [email protected]
        ReportedBy: [email protected]


W3C says the value of attribute "id" cannot start with a dot (".").

If the title of a section begins with a special or non-ascii character,
MediaWiki generates HTML like <a name=".E7.89.B9.E8.89.B2.E6.A2.9D.E7.9B.AE"
id=".E7.89.B9.E8.89.B2.E6.A2.9D.E7.9B.AE"></a>.

id=".E7.89.B9.E8.89.B2.E6.A2.9D.E7.9B.AE" goes again that rule.

Since <a name=".E7.89.B9.E8.89.B2.E6.A2.9D.E7.9B.AE"></a> also works,
id=".E7.89.B9.E8.89.B2.E6.A2.9D.E7.9B.AE" can be removed.


-- 
Configure bugmail: https://bugzilla.wikimedia.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.
You are on the CC list for the bug.

_______________________________________________
Wikibugs-l mailing list
[email protected]
https://lists.wikimedia.org/mailman/listinfo/wikibugs-l

Reply via email to