Last modified: 2014-01-22 17:03:17 UTC

Wikimedia Bugzilla is closed!

Wikimedia migrated from Bugzilla to Phabricator. Bug reports are handled in Wikimedia Phabricator.
This static website is read-only and for historical purposes. It is not possible to log in and except for displaying bug reports and their history, links might be broken. See T60085, the corresponding Phabricator task for complete and up-to-date bug report information.
Bug 58085 - TimedMediaHandler should not add start-up scripts
TimedMediaHandler should not add start-up scripts
Status: NEW
Product: MediaWiki extensions
Classification: Unclassified
TimedMediaHandler (Other open bugs)
unspecified
All All
: High normal (vote)
: ---
Assigned To: Michael Dale
: performance
Depends on:
Blocks: 58083
  Show dependency treegraph
 
Reported: 2013-12-06 07:50 UTC by Ori Livneh
Modified: 2014-01-22 17:03 UTC (History)
9 users (show)

See Also:
Web browser: ---
Mobile Platform: ---
Assignee Huggle Beta Tester: ---


Attachments

Description Ori Livneh 2013-12-06 07:50:51 UTC
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.

Note You need to log in before you can comment on or make changes to this bug.


Navigation
Links