* @copyright 2011-2015 MediaWiki Widgets Team and others; see AUTHORS.txt
* @license The MIT License (MIT); see LICENSE.txt
*/
-( function ( $, mw ) {
+( function () {
var hasOwn = Object.prototype.hasOwnProperty;
/**
// Workaround T97096 by setting uselang=content
uselang: 'content'
} ).then( function ( data ) {
- return $.map( data.query.interwikimap, function ( interwiki ) {
+ return data.query.interwikimap.map( function ( interwiki ) {
return interwiki.prefix;
} );
} );
return !!this.getMWTitle();
};
-}( jQuery, mediaWiki ) );
+}() );