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

       Web browser: ---
            Bug ID: 58085
           Summary: TimedMediaHandler should not add start-up scripts
           Product: MediaWiki extensions
           Version: unspecified
          Hardware: All
                OS: All
            Status: NEW
          Keywords: performance
          Severity: normal
          Priority: Unprioritized
         Component: TimedMediaHandler
          Assignee: [email protected]
          Reporter: [email protected]
                CC: [email protected], [email protected],
                    [email protected], [email protected],
                    [email protected], [email protected]
            Blocks: 58083
    Classification: Unclassified
   Mobile Platform: ---

Without TimedMediaHandler / MWEmbedSupport, the set of modules that loads in
<head> (blocking the appearance of content) is limited to the core 'mediawiki'
module and jQuery. With TimedMediaHandler / MWEmbedSupport, the modules
"mw.MwEmbedSupport", "Spinner", "jquery.loadingSpinner",
"jquery.triggerQueueCallback", and "jquery.mwEmbedUtil" are loaded as well.

The only reason I could discover for loading these scripts in <head> is to be
able to insert HTML5 element shivs for IE<9.

* These scripts shouldn't load at all on pages that do not contain timed media.
* When they do load, they should be loaded in the bottom queue, like ordinary
modules.
* If the HTML5 shiv is necessary, it should be moved to a separate module which
contains nothing extraneous and which is loaded only on the pages that need it.

-- 
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