Jump to content

User:TutterMouse/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.
window.importScript = function (importPage) {
    var wg = mw.config.get(["wgServer", "wgScript"]),
        importUrl = wg.wgServer + wg.wgScript + "?title=" + mw.util.wikiUrlencode(importPage) +
        "&action=raw&ctype=text/javascript";
    return mw.loader.load(importUrl);
};
// importScript('User:Ale_jrb/Scripts/igloo.js');
// [[User:Ale_jrb/Scripts/igloo]]

//importScript('User:Ohconfucius/script/Common Terms.js');
//[[User:Ohconfucius/script/Common Terms.js]]

//importScript('User:Voice_of_All/Addtabs/monobook.js');//[[User:Voice_of_All/Addtabs/monobook.js]]
//toolbarLink_PR = true;
//importScript('User:John254/mass rollback.js');
importScript('User:Ale_jrb/Scripts/userhist.js');  //[[User:Ale_jrb/Scripts]]

//**** 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('Wikipedia:AutoEd/complete.js');
autoEdClick = false;

$(function () {
	mw.util.addPortletLink("p-cactions",
		"http://dispenser.homenet.org/~dispenser/cgi-bin/dab_solver.py?page="+mw.config.get('wgContentLanguage')+":"+encodeURIComponent(mw.config.get('wgPageName')),
		'Solve DABs', null,  "Disambiguate links", '3'); 
});

// importScript('User:Tom Morris/delsort.js');

//mw.loader.load("//de.wikipedia.org/w/index.php?title=Benutzer:TMg/autoFormatter.js&action=raw&ctype=text/javascript");

//importScript('User:Fox Wilson/delsort-monobook.js'); // Deletion sorting script [[WP:FWDS]]

// importScript('User:Smith609/toolbox.js');

// Wiki-Labels [[File:User:EpochFail/WikiLabels.js]]
//mw.loader.load( '//labels.wmflabs.org/gadget/loader.js' );

mw.loader.load( "https://meta.wikimedia.org/w/index.php?title=User:Zhaofeng_Li/Reflinks.js&action=raw&ctype=text/javascript" );
mw.loader.load( "https://en.wikipedia.org/w/index.php?title=User:PerfektesChaos/js/lintHint/r.js&action=raw&maxage=86400&ctype=text/javascript" );
importScript('User:RedWarn/.js'); // Backlink: [[User:RedWarn/.js]]

//importScript( 'User:MusikAnimal/responseHelper.js' ); // Backlink: [[User:MusikAnimal/responseHelper.js]]
mw.loader.load( '/w/index.php?title=User:Chlod/Scripts/Deputy.js&action=raw&ctype=text/javascript' ); // Backlink: [[User:Chlod/Scripts/Deputy.js]]
importScript( 'User:Aaron Liu/duplinks.js' );
importScript("User:The Master of Hedgehogs/Chocolate.js");