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

           Summary: Preserve Conditional Compile IE statements
           Product: MediaWiki
           Version: 1.17-svn
          Platform: All
        OS/Version: All
            Status: NEW
          Severity: enhancement
          Priority: Normal
         Component: Resource Loader
        AssignedTo: tpars...@wikimedia.org
        ReportedBy: d...@ucsc.edu
                CC: roan.katt...@gmail.com


the syntax /*...@cc_on*/ is sometimes used to conditionally add content to IE
browsers see: 
http://www.javascriptkit.com/javatutors/conditionalcompile.shtml

Its useful in cases where client detection library is not ready yet or you need
to do user-agent independent IE conditionals. 

Minification in resource loader should probably ignore striping comments that
include /*...@cc_on at the start. and @/ at the end.

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