User:Tomcat7/monobook.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('User:AzaToth/twinkle.js');
importScript('MediaWiki:Gadget-HotCat.js');
importScript('User:Dr pda/prosesize.js');
importScript("User:GregU/dashes.js");
importScript('User:Shubinator/DYKcheck.js'); //DYKcheck tool
importScript('User:Ohconfucius/script/MOSNUM dates.js');  //[[User:Ohconfucius/script/MOSNUM dates.js]]
importScript('User:Ohconfucius/script/Common Terms.js');  //[[User:Ohconfucius/script/Common Terms.js]]
importScript('User:Ohconfucius/script/EngvarB.js');  //[[User:Ohconfucius/script/EngvarB.js]]
importScript('User:Ohconfucius/script/Sources.js');  //[[User:Ohconfucius/script/Sources.js]]
mw.loader.load('https://en.wikipedia.org/w/index.php?title=User:Ohconfucius/test/Deutschdatum.js&action=raw&ctype=text/javascript');

// Add [[WP:Reflinks]] launcher in the toolbox on left
$(function () {
 mw.util.addPortletLink(
  "p-tb",     // toolbox portlet
  "http://69.142.160.183/~dispenser/cgi-bin/webreflinks.py?" + mw.config.get('wgContentLanguage') + "&page=" + mw.config.get('wgPageName')
   + "&autoclick=wpPreview",
  "Reflinks"  // link label
)});

var hotcat_use_category_links = true;
 
// Add Dab Solver launcher in the toolbox on left
$(function () {
 mw.util.addPortletLink(
  "p-tb",
  "https://dispenser.info.tm/~dispenser/cgi-bin/dab_solver.py?page="+encodeURIComponent(mw.config.get('wgPageName')),
  "Dab Solver"
)});

importScript('User:GregU/familytree.js');

if (mw.config.get('wgPageName') == "Main_Page") {
  window.location = "http://en.wikipedia.org/wiki/User:Tomcat7/Main_Page_alternative_(encyclopedia2)";
}