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

           Summary: Underscore is not allowed as the initial character in
                    tag attributes (tag extension)
           Product: MediaWiki
           Version: 1.15.5
          Platform: All
        OS/Version: All
            Status: NEW
          Keywords: parser
          Severity: minor
          Priority: Normal
         Component: API
        AssignedTo: roan.katt...@gmail.com
        ReportedBy: vin...@gmail.com
                CC: bryan.tongm...@gmail.com, s...@reedyboy.net,
                    vasi...@gmail.com, soxre...@gmail.com


When creating tag extensions, attribute names with underscore as the initial
character (e.g. _attr, _file, etc.) are not recognized as valid attributes.
This is a valid attribute name according to W3C XML standard
(http://www.w3.org/TR/REC-xml/#NT-NameStartChar), which, if I understand
correctly, mediawiki tries to comply with.

I don't see a reason why these attributes should not be allowed.

-- 
Configure bugmail: https://bugzilla.wikimedia.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
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