MediaWiki:Gadget-mwEmbed.js
Closed, ResolvedPublic

Description

Hello,
As we could see on http://commons.wikimedia.org/wiki/Commons:Village_pump#MediaWiki:Gadget-mwEmbed.js, the subtitles can't be used on the sister projects (only their videos). Is it planned to deploy them please?


Version: unspecified
Severity: enhancement

Details

Blocked By
T74429: Videos invisible on commons
Reference
bz24265
bzimport set Reference to bz24265.

mdale wrote:

presently you have to add the gadget to each sister project that you want to view subtitles on. The mwEmbed is smart enough to look up subtitles from commons even if the video is hosted somewhere else.

For example the following link displays subtitles from commons, even though the video is on en:

http://en.wikipedia.org/w/index.php?title=User:Mdale&withJS=MediaWiki:MwEmbed.js

Dear,
It doesnt work for me either in your URL above, nor in http://fr.wikiversity.org/wiki/Wikiversit%C3%A9:La_salle_caf%C3%A9/26_2010#Pour (after the gadget installation).

Is it because we can't see in http://en.wikipedia.org/wiki/Special:Version:

  1. http://www.mediawiki.org/wiki/Extension:Firefogg
  2. http://www.mediawiki.org/wiki/Extension:Add_Media_Wizard

?

In parallel I'm trying to reach a consensus if we have to install them...

We've got a consensus below, do you think that an installation is possible?

http://fr.wikibooks.org/wiki/Wikilivres:Le_Bistro/Messages_actuels#Pour

You don't need those extensions.

http://fr.wikiversity.org/wiki/MediaWiki:MwEmbed.js is empty, and it doesn't appear on Gadgets or http://fr.wikiversity.org/wiki/MediaWiki:Common.js

How have you installed the gadget?

Done, actually I had tried in my monobook, but now I've got a new message under the video file: "Available closed captioning files", and the subtitles are visible. We can close the case.

mdale wrote:

If the site is small enough like ( wikivesrity) and you have consensus, you can globally enable the gadget in the same way other gadgets have been globally enabled on commons ( imageAnnotator etc ). Would be interesting in early adopters to get wider testing and feedback on the component.

To do this simply copy the contents of http://en.wikipedia.org/wiki/MediaWiki:Gadget-mwEmbed.js to your MediaWiki:Common.js file

peace,
--michael

Thanks, I'll ask.

mdale wrote:

Not sure why this was reopened. The issue should be resolved now.

Add Comment