MediaWiki:Monobook.js

/* Any JavaScript here will be loaded for users using the MonoBook skin */

// Remove dismiss option from Sitenotice $('#mw-dismissable-notice > tbody > tr > td:last').remove;

// Autocomplete for search mw.loader.using('jquery.ui.autocomplete', function {    $('#searchInput').autocomplete({ minLength: 2, source: function (request, response) { $.getJSON(           mw.util.wikiScript('api'), {                format: 'json',                action: 'opensearch',                search: request.term            }, function (arr) {                if (arr && arr.length > 1) {                    response(arr[1]);                } else {                    response([]);                }            }); }   }); });

// Buttons styling mw.loader.load($.getSassCommonURL('skins/oasis/css/core/buttons.scss'), 'text/css');