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

           Summary: Automatic anchor generated for duplicate header names
                    can conflict with anchor for header with the same name
           Product: MediaWiki
           Version: unspecified
          Platform: All
        OS/Version: All
            Status: NEW
          Severity: minor
          Priority: Normal
         Component: Page rendering
        AssignedTo: [email protected]
        ReportedBy: [email protected]


It's not really important but should be changed/fixed anyway: 
If one uses the same header name multiple times (which can happen on talk pages
quite often), the MW software will call the anchors for the second, third, etc.
header "XXX 2", "XXX 3", etc. But if there exists both two headers called "XXX"
and one called "XXX 2", the software will generate the anchor "XXX 2" twice -
once for the duplicate header and once for the one that really is named that
way. See this example here: http://en.wikipedia.org/wiki/User:SoWhy/sandbox
(the second and third item in the TOC have the same anchor). 
As such, the software needs to be changed to check for duplicated anchors or
find an unique way to handle such duplicated headers. 

Regards
SoWhy


-- 
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