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

--- Comment #25 from Roan Kattouw <[email protected]> 2011-04-07 12:23:10 
UTC ---
I have laid the ground work for this in r85616.

The startup, jquery and mediawiki modules are now loaded in the <head>, along
with any modules flagged with 'position' => 'top'. Modules whose position is
set to 'bottom' (this is the default) are still loaded at the bottom of the
<body>, which is also where legacy JS (from non-RL-ified extensions), user
preferences, site JS and user JS is loaded.

I guess all we need to do now is identify modules that should load in the
<head> rather than in the <body>, and flag them with 'position' => 'top'. This
should only be done for modules that would otherwise cause a flash of unstyled
content or have another good reason to live in the <head>: loading things in
the <head> degrades performance, as previously mentioned.

-- 
Configure bugmail: https://bugzilla.wikimedia.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
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