https://bugzilla.wikimedia.org/show_bug.cgi?id=40284
sp...@wikimedia.org changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |sp...@wikimedia.org --- Comment #3 from sp...@wikimedia.org --- This double loading is going to occur with gadgets and the 'mediawiki.ui.button' module. We recommend gadgets explicitly load their required modules; we will probably add addModuleStyles( 'mediawiki.ui.button' ) on all pages so that simple templates like {{Blue button}} work without JavaScript. So the button CSS will be added to a style tag in the DOM by the former and added as a link by the latter. The fix could be to add a separate mw.loader.loadCSS/usingCSS() function that can check to see if the CSS has already been loaded using addModuleStyles. -- 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