"Krinkle" posted a comment on MediaWiki.r100497.
URL: http://www.mediawiki.org/wiki/Special:Code/MediaWiki/100497#c29130

Commit summary for MediaWiki.r100497:

Move styles in gadgets to the top of pages to avoid flash of unstyled content.
Those styles should be loaded after site and user styles to keep B/C.

Krinkle's comment:

What problem is attempted to be solved here ?

If a gadget needs styling, there shuld be no FOUC as ResourceLoader implements 
the style properties before executing the JavaScript, so it shouldb'e be 
possible for something to be unstyled, and if it is, it's not related to 
Gadgets.

If it is a gadget styling something already on the page by default, then it 
should probably be a gadget that is in it's entirety with "position" property 
of the module set to "top" (this is not settable from the definitions page in 
the MW1.19 version of the extension, but will be in the RL2 version).

_______________________________________________
MediaWiki-CodeReview mailing list
[email protected]
https://lists.wikimedia.org/mailman/listinfo/mediawiki-codereview

Reply via email to