Page MenuHomePhabricator

Enable mwEmbed and Add media wizard on svwp
Closed, ResolvedPublic

Description

Is it possible to turn this on this on the Swedish Wikipedia? We have had a discussion on the village pump and have reached concensus on asking it for be turned on.

http://sv.wikipedia.org/wiki/Wikipedia:Bybrunnen#Video_p.C3.A5_Wikipedia


Version: unspecified
Severity: enhancement

Details

Reference
bz22990

Event Timeline

bzimport raised the priority of this task from to Medium.Nov 21 2014, 11:04 PM
bzimport set Reference to bz22990.

mdale wrote:

You can enable it as gadget for testing. By having an admin on mirror the en setup. Specifically:

page: http://en.wikipedia.org/wiki/MediaWiki:Common.js include the utility function: getURLParamValue( paramName, url) &&
the code:
var extraJS = getURLParamValue("withJS");
if ( extraJS && extraJS.match("^MediaWiki:[^&<>=%]*\.js$") ) {

importScript(extraJS);

}

Then you have to add the gadget mediaWiki::

Page:
http://en.wikipedia.org/wiki/MediaWiki:MwEmbed.js
http://en.wikipedia.org/wiki/MediaWiki:Gadget-mwEmbed.js

and add to the gadget list:
http://en.wikipedia.org/wiki/MediaWiki:Gadgets-definition
and translate description:
http://en.wikipedia.org/wiki/MediaWiki:Gadget-mwEmbed

Thanks for the instructions, it is now available at Swedish Wikipedia.