Why so many question marks? :)
There is OutputPage::addModuleStyles(), it's said that it enables module
CSS files via <link /> tags instead of loading it by means of JavaScript.
Iirc, it works right like advertised.
On Wed, Jun 5, 2013 at 3:43 PM, <vitalif(a)yourcmc.ru> wrote:
Hello!
I've got a serious issue with ResourceLoader.
WHAT FOR it's made to load extension ____styles_____ DYNAMICALLY using
JavaScript?!!!!
It's a very bad idea, it leads to page style flickering during load. I.e.
first the page is displayed using only skin CSS and then you see how
extension styles are dynamically applied to it. Of course it's still rather
fast, but it's definitely noticeable, even in Chrome.
Why didn't you just output <link rel="stylesheet"
href="load.php?<ALL
MODULES>" /> ??????????
Am I free to implement it and submit a patch?????
--
With best regards,
Vitaliy Filippov
______________________________**_________________
Wikitech-l mailing list
Wikitech-l(a)lists.wikimedia.org
https://lists.wikimedia.org/**mailman/listinfo/wikitech-l<https://lists.…
--
З павагай,
Павел Селіцкас/Pavel Selitskas
Wizardist @ Wikimedia projects