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

--- Comment #2 from Krinkle <[email protected]> 2012-09-24 17:32:50 UTC ---
I was going to duplicate with bug 29693. Whatever solution (if any) is
considered, it can be applied to Gadgets similarly.

One possible way (though not an option for gadget) is to require that modules
be split in a part that contains style for server output and a module with
javascript and styling for that.

That's how we do it in core for some of these cases. Note that this split up
can not (should not) be automated because some stylesheets are only relevant in
a scripted context and visa versa.

The only problem is that we don't have a way to tell gadgets that it should be
loaded as a <link> only with only=styles. Effectively adding a new type of
module (dynamic bottom, dynamic top, static top), which can't have scripts.

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