+/* eslint-disable no-restricted-properties */
/*!
* Add search suggestions to the search form.
*/
-( function ( mw, $ ) {
+( function () {
var searchNS = $.map( mw.config.get( 'wgFormattedNamespaces' ), function ( nsName, nsID ) {
if ( nsID >= 0 && mw.user.options.get( 'searchNs' + nsID ) ) {
// Cast string key to number
.find( '.mw-fallbackSearchButton' ).remove();
} );
-}( mediaWiki, jQuery ) );
+}() );