Jump to content

User:Dainomite/common.js

From Wikipedia, the free encyclopedia
Note: After saving, you have to bypass your browser's cache to see the changes. Google Chrome, Firefox, Microsoft Edge and Safari: Hold down the ⇧ Shift key and click the Reload toolbar button. For details and instructions about other browsers, see Wikipedia:Bypass your cache.
importScript('MediaWiki:Gadget-HotCat.js');
importScript("User:Ocaasi/WikiLoveinstallscript.js");
importScript('User:Fox Wilson/delsort.js'); // Deletion sorting script [[WP:FWDS]]
importScript('User:Cameltrader/Advisor.js');

// Add [[WP:Reflinks]] launcher in the toolbox on left
$(function () {
 mw.util.addPortletLink(
  "p-tb",     // toolbox portlet
  "http://dispenser.homenet.org/~dispenser/cgi-bin/webreflinks.py/" + mw.config.get('wgPageName')
   + "?client=script&citeweb=on&overwrite=&limit=20&lang=" + mw.config.get('wgContentLanguage'),
  "Reflinks"  // link label
)});

if (mw.config.get('wgCanonicalSpecialPageName') == "Contributions") $('.mw-rollback-link').remove();