https://bugzilla.wikimedia.org/show_bug.cgi?id=50746
--- Comment #2 from Ori Livneh <[email protected]> --- #wikimedia-dev (very lightly edited): <MatmaRex> but really, the else clause in core's mediawiki.js, with `document.write( mw.html.element( 'script', { 'src': src }, '' ) );` should be killed <MatmaRex> i'm pretty sure it doesn't make things any faster on recent browsers <MatmaRex> which support <script async> <MatmaRex> and actually i think scripts appended after page starts loading are asynchronous anyway <MatmaRex> code loads after page content is loaded, but before $.ready() is called; this causes RL to erroneously use document.write for loading it and the page to go blank. <MatmaRex> this could also be fixed by adding that module to "server-side" dependencies <MatmaRex> so it would be already loaded by then, and thus RL wouldn't have todo the heavy lifting <MatmaRex> or by moving everything to bottom queue, which executes after $.ready() <MatmaRex> or by killing that code path in core <MatmaRex> i'm really not sure which would be best to do in the long term, and which would be best to just get it working now (Thanks, MatmaRex, by the way!) I think the module should be slotted for loading on the server to resolve this particular bug. Not sure about the bigger questions. -- 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
