User:Mdale81/monobook.js

if( typeof mwAddMediaConfig == 'undefined'){ mwAddMediaConfig = {}; } mwAddMediaConfig[ 'enabled_providers' ] = [ 'wiki_commons', 'upload' ]; mw.loader.load( '//prototype.wikimedia.org/s-2/js/mwEmbed/remotes/mediaWiki.js?debug=true&uselang=' + wgUserLanguage);