User:Darkwind/common.js

This is an old revision of this page, as edited by Darkwind (talk | contribs) at 22:25, 4 June 2015 (more elimination troubleshooting). The present address (URL) is a permanent link to this revision, which may differ significantly from the current revision.
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.
//Adds 'Check Refs' to the toolbox, links to http://toolserver.org/~dispenser/cgi-bin/reflinks.py -- Dispenser's reference title fixer.

function refcheck()
{
  addPortletLink("p-tb", "http://toolserver.org/~dispenser/cgi-bin/webreflinks.py?page=" + wgPageName + "&citeweb=on", "Check Refs");
};
 
function linkcheck()
{
  addPortletLink("p-tb", "http://toolserver.org/~dispenser/cgi-bin/webchecklinks.py?page=" + wgPageName, "Check Links");
};

function dabsolver()
{
  addPortletLink("p-tb", "http://toolserver.org/~dispenser/cgi-bin/dab_solver.py?page=" + wgPageName, "Dab Solver");
};

function samspade()
{
  addPortletLink("p-tb", "http://whois.domaintools.com/" + wgTitle, "Whois Lookup");
};

function hurricane()
{
	addPortletLink("p-tb", "http://rwhois.he.net/whois.php?query=" + wgTitle, "RWhois Lookup")
}
 
if ( wgNamespaceNumber == 0 ) {
 addOnloadHook(refcheck);
 addOnloadHook(linkcheck);
 addOnloadHook(dabsolver);
};

if ( wgNamespaceNumber == 3 ) {
 addOnloadHook(samspade);
 addOnloadHook(hurricane);
};

importScript('User:Darkwind/stubtagtab2.js');

/**** afd helper ****/
//importScript('User:Jnothman/afd_helper/script.js');

/* This is to keep track of who is using this extension: [[User:Jnothman/afd_helper/script.js]] */

importScript('User:Mr.Z-man/closeAFD.js');

importScript('User:Writ Keeper/Scripts/deletionFinder.js');

importScriptURI('//ru.wikipedia.org/w/index.php?title=MediaWiki:Gadget-markblocked.js&action=raw&ctype=text/javascript');

importScript('User:Darkwind/DAVT/Beta.js'); //for testing!

importScript('User:Ale_jrb/Scripts/csdhelper.js');  //[[User:Ale_jrb/Scripts]]

importScript('User:Ale_jrb/Scripts/statusCheck.js');  //[[User:Ale_jrb/Scripts]]

importScript("User:Animum/easyblock.js"); //[[User:Animum/easyblock.js]]

importScript("User:Timotheus Canens/spihelper.js");

// Provides several useful functions for rollback (custom edit summary, mark as bot edits and mass revert)
// by [[m:user:Hoo man]] <http://meta.wikimedia.org/wiki/User:Hoo_man/Scripts/Smart_rollback>
//mw.loader.load('//meta.wikimedia.org/w/index.php?title=User:Hoo_man/smart_rollback.js&action=raw&ctype=text/javascript');