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

           Summary: Invalid section-IDs - especially when using special
                    characters
           Product: MediaWiki
           Version: 1.16-svn
          Platform: All
        OS/Version: All
            Status: NEW
          Severity: normal
          Priority: Normal
         Component: Page rendering
        AssignedTo: wikibugs-l@lists.wikimedia.org
        ReportedBy: accnospam...@yahoo.de


When creating sections like:

==Überschrift (german for "heading")==

mediawiki produces the following code in HTML:

<pre>
<h2> <span class="mw-headline" id=".C3.9Cberschrift">Überschrift</span></h2>
</pre>

* id=".C3.9Cberschrift" is clearly wrong (id and name attributes must begin
with a letter)

* it's hard to target such IDs with css

* Why create a span with an ID in the first place? An element with an id should
only exist once in a html document; it cannot be guaranteed that users don't
create equal sections (that will lead to multiple IDs with the same name)

-- 
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
Wikibugs-l@lists.wikimedia.org
https://lists.wikimedia.org/mailman/listinfo/wikibugs-l

Reply via email to