The 1.23 release of MediaWiki deprecates the ResourceLoaderGetStartupModules hook which TimedMediaHandler / MwEmbedSupport depend on. See <https://bugzilla.wikimedia.org/show_bug.cgi?id=63240> for details.

I'd like to accelerate the complete removal of this hook. It was created as a special kludge for MwEmbedSupport, with the expectation that it would be used only on pages which require the extension, and only until MwEmbedSupport could be refactored to be in-line with other MediaWiki extensions. Instead, MwEmbedSupport uses it to load five modules on every single page: 'jquery.triggerQueueCallback', 'Spinner', 'jquery.loadingSpinner', 'jquery.mwEmbedUtil', and 'mw.MwEmbedSupport'. (A sixth module, 'mw.MwEmbedSupport.style', is also added to every page, but by different means.)

This has been the status quo for just under three years, now: commit dc5c9fe9efa, which added "TODO look into loading this on-demand instead of all pages", was merged in June 2011.

Could the multimedia team please make this a priority? I'd recommend using the opportunity to fold MwEmbedSupport support into TimedMediaHandler. MwEmbedSupport passes itself as a generic module-loading framework, but three years in, TimedMediaHandler remains its single application.

The relevant bugs are:

I can't imagine it's too much fun to wade into these problems, but we need to fix this, finally. I would be happy to help.