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

       Web browser: ---
             Bug #: 32183
           Summary: Remove user-agent-sniffed client-* classes from
                    mediawiki.page.startup
           Product: MediaWiki
           Version: 1.19-svn
          Platform: All
        OS/Version: All
            Status: NEW
          Severity: normal
          Priority: Unprioritized
         Component: Javascript
        AssignedTo: [email protected]
        ReportedBy: [email protected]
                CC: [email protected]
    Classification: Unclassified


Browser sniffing is unreliable, dangerous, and generally nasty and should
almost never be used.

mediawiki.page.startup.js adds classes to the <html> document element for the
client name, version, and a couple other bits -- their presence encourages
usage of sniffing to enable/disable features.

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