User:Darkwind/common.js: Difference between revisions

Content deleted Content added
add preferences
 
(32 intermediate revisions by 2 users not shown)
Line 1:
importScript('User:Mr.Z-manDarkwind/closeAFDsandbox.js'); //testing script
//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');
Line 43 ⟶ 7:
 
/* 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');
 
importScriptURImw.loader.load('//ru.wikipedia.org/w/index.php?title=MediaWiki:Gadget-markblocked.js&action=raw&ctype=text/javascript');
 
importScript('User:Darkwind/DAVT-test.js'); //for testing!
Line 71 ⟶ 33:
displayStatus: true
};
 
mw.loader.load( "https://meta.wikimedia.org/w/index.php?title=User:Zhaofeng_Li/Reflinks.js&action=raw&ctype=text/javascript" );
window.kephirUnclutter = {
enableOnPageLoad : false,
wrapDiscussions : false,
collapseDiscussionsByDefault: false,
signaturesProcess : true,
signaturesMinimise : true,
signaturesColourise : false,
signaturesExceptions : [],
userAnnotations : { /* "username": "annotation" pairs, separated by commas */ },
processSig : function (context) { return false; },
postProcessSig : function (context) { return false; }
};
importScript('User:Kephir/gadgets/unclutter.js'); // [[User:Kephir/gadgets/unclutter]]
mw.loader.load('//meta.wikimedia.org/w/index.php?title=User:Hedonil/XTools/XTools.js&action=raw&ctype=text/javascript');
importScript( 'User:Enterprisey/script-installer.js' ); // Backlink: [[User:Enterprisey/script-installer.js]]
importScript('User:Enterprisey/url-select-revdel.js'); // Backlink: [[User:Enterprisey/url-select-revdel.js]]
importScript('User:Suffusion of Yellow/effp-helper.js'); // Backlink: [[User:Suffusion of Yellow/effp-helper.js]]
importScript('User:RedWarn/.js'); // Backlink: [[User:RedWarn/.js]]
importScript('User:Evad37/MoveToDraft.js'); // Backlink: [[User:Evad37/MoveToDraft.js]]
importScript('User:Evad37/rater.js'); // Backlink: [[User:Evad37/rater.js]]
importScript('User:Enterprisey/reply-link.js'); // Backlink: [[User:Enterprisey/reply-link.js]]
 
window.replyLinkPreloadPing="button";
window.replyLinkPreloadPingTpl="{{re|##}} ";
window.replyLinkCustomSummary="true";
importScript('User:Alex Smotrov/histcomb.js'); // Backlink: [[User:Alex Smotrov/histcomb.js]]
importScript('User:Ingenuity/AntiVandal.js'); // Backlink: [[User:Ingenuity/AntiVandal.js]]