What    |Removed                     |Added
                 CC|                            |

--- Comment #3 from ---
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

Reply via email to