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

            Bug ID: 63053
           Summary: UploadWizard CSS is loaded twice
           Product: MediaWiki extensions
           Version: master
          Hardware: All
                OS: All
            Status: NEW
          Severity: normal
          Priority: Unprioritized
         Component: UploadWizard
          Assignee: wikibugs-l@lists.wikimedia.org
          Reporter: mflasc...@wikimedia.org
                CC: aarcos.w...@gmail.com, bawolff...@gmail.com,
                    fflo...@wikimedia.org, gti...@wikimedia.org,
                    mtrac...@member.fsf.org, nischay...@gmail.com
       Web browser: ---
   Mobile Platform: ---

Due to 0a1a638553579d4effda75dc3c8f6e75aed97e15 (which was apparently intended
to fix a FUOC), the styles are now loaded twice (once via the JavaScript
ResourceLoader loader, and another time via addModuleStyles).

I think the correct solution is to make a separate module for styles that apply
to HTML delivered from the server, and load that in the top queue.  These
styles should then be removed from the main module.

This top queue module could use addModuleStyles so at least the error text
renders right if the browser doesn't have JavaScript.

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