Can this wait a few weeks? We were intending to move onto UploadWizard TMH and similar unloved projects after Media Viewer's launch to all users. We're in the middle of the launch at the moment, which is using all our team's resources and then some.
I've actually already done prep work by talking to Kaltura a couple of times about the strategy to clean up TMH (and upgrade it to the newer version of the Kaltura player) some time ago, it's on our radar, including the specific issue your describing. We just don't have the bandwidth to do this involved cleanup while we're focused on Media Viewer's launch.
On Mon, Apr 21, 2014 at 1:23 AM, Ori Livneh ori@wikimedia.org wrote:
Hello,
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%3E 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:
https://bugzilla.wikimedia.org/show_bug.cgi?id=55550 https://bugzilla.wikimedia.org/show_bug.cgi?id=58086 https://bugzilla.wikimedia.org/show_bug.cgi?id=42928 https://bugzilla.wikimedia.org/show_bug.cgi?id=58082
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.
Multimedia mailing list Multimedia@lists.wikimedia.org https://lists.wikimedia.org/mailman/listinfo/multimedia