Jump to content

MediaWiki:Gadget-mwEmbed.js: Difference between revisions

From The Austrian Economics Wiki, the global repository of classical-liberal thought
per EP on talk apge
 
m 1 revision
 
(No difference)

Latest revision as of 04:20, 17 December 2013

/**
 * For more info on debugging mwEmbed see:
 * - [[Wikipedia:Multimedia beta]]
 * - [[mw:JS2 Overview#Debugging mwEmbed Gadget]]
 */
/*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') );
}