MediaWiki:Gadget-mwEmbed.js

/** * For more info on debugging mwEmbed see: * - Multimedia beta * - JS2 Overview */ /*jslint white: true, browser: true */ /*global mw */ if( location.protocol === 'https:' ) { mw.log('"mwEmbed" was disabled because the code is not accessible on "https:".'); } else { mw.loader.load( 'http://prototype.wikimedia.org/mwe-gadget/mwEmbed/remotes/mediaWiki.js?uselang=' + mw.config.get('wgUserLanguage') ); }