User:Jakec/common.js

Note: After publishing, you may have to bypass your browser's cache to see the changes.

  • Firefox / Safari: Hold Shift while clicking Reload, or press either Ctrl-F5 or Ctrl-R (⌘-R on a Mac)
  • Google Chrome: Press Ctrl-Shift-R (⌘-Shift-R on a Mac)
  • Edge: Hold Ctrl while clicking Refresh, or press Ctrl-F5.
importScript('User:Bene*/deletionRequest.js'); // [[User talk:Bene*/deletionRequest.js]]
importScript( 'User:Ricordisamoa/KeyShortcuts.js' );
importScript('User:Bene*/userwarn.js');
importScript( 'User:Zerabat/Gadget-quickeditcounter.js' );
$(document).ready(function() {
        setInterval(function() {
                $('.tipsy').remove();
        },250);
});

//Shamelessly lifted from https://en.wikipedia.org/wiki/User:Ryan_Vesey/sidebar.js
mw.util.addPortletLink ('p-tb', mw.config.get('wgServer')+mw.config.get('wgArticlePath').replace("$1", "Special:Search"), 'Search for item');
//Adapted from https://www.mediawiki.org/wiki/AddPortletLink#addPortletLink
mw.util.addPortletLink( 'p-tb', 'https://www.wikidata.org/w/index.php?title=Special%3ASearch&profile=advanced&search=&fulltext=Search&ns120=1&redirs=1&profile=advanced', 'Search for property');