https://bugzilla.wikimedia.org/show_bug.cgi?id=27488
--- Comment #32 from Nux <[email protected]> 2011-04-12 18:10:20 UTC --- (In reply to comment #31) > If you need to for example insert a link in a dropdown menu your script should > NOT load in the <head> as that dropdown menu will not exist at this point. > > How was that done in 1.16 ? In the past these kind of scripts had to be called > through addOnloadHook, which was called... at the bottom of the page. There is > no point in loading a script in the <head> and then calling only a function > through addOnloadHook, that causes unnecessary slow pages with no gain at all. This again is not exactly true. I do need to insert the link as soon as the page is ready, BUT I also need to do it as soon as possible which is the whole idea behind using $(document).ready instead of body.onload (and such). The problem is if the scripts are loaded at the bottom of the page then the page appears faster, BUT overall load time is still the same or (due to more complicated loading scripts) even a bit slower. And so it seems you have no plans to fix issues described e.g. in comment #28. Because the script will still have to wait for the page to load, then for other scripts to load then to add a link to a page that appeared to be ready for few seconds. Though I like LiquidThreads I'm not sure why it should have greater rights then scripts developed by native developers. This is sysop which have more inside knowledge of what is needed for the users. -- 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
