Jump to content

User:1997kB/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.
//autoEd for cleanup
//importScript('Wikipedia:AutoEd/complete.js');

//copyvio checker
mw.loader.using("mediawiki.util", function() {
    mw.util.addPortletLink(
        "p-tb",
        "https://tools.wmflabs.org/copyvios/?lang=" + mw.config.get("wgContentLanguage") + "&project=" + mw.config.get("wgSiteName").toLowerCase() + "&title=" + encodeURIComponent(mw.config.get("wgPageName")),
        "Copyvio check",
        "t-copyvio-check",
        "Check this page for copyright violations"
    );
});

//ACC requests status
if (typeof(userACC) === 'undefined'){ var userACC = mw.config.get( 'wgUserName' ).replace(" ", "_"); }
$.ajax({
	url: '//accounts.wmflabs.org/api.php?action=status',
	dataType: 'xml',
	success: function(ACCstatus) {
		var requests = parseInt($(ACCstatus).find('status').attr('open'), 10);
			mw.util.addPortletLink('p-tb', '//accounts.wmflabs.org/acc.php?tplUsername=' + userACC, requests + ' ACC req', 'p-acc', 'Go to the Account Creation Interface');
	}
});

//SPI
lazyCheckCUStaleness = false;
lazyCheckCatStaleness = false;
maxUsersCUStaleness = 100;
mw.loader.load("/w/index.php?title=User:Writ Keeper/Scripts/cuStaleness.js&action=raw&ctype=text/javascript");
mw.loader.load("/w/index.php?title=User:Writ Keeper/Scripts/sockStaleness.js&action=raw&ctype=text/javascript");
//importScript('User:Timotheus Canens/spihelper.js'); //[[User:Timotheus Canens/spihelper.js]]
//var spiHelper_watchArchive = "nochange";
//var spihelper_watchCase = "nochange";
importScript('User:GeneralNotability/spihelper.js');
//importScript('User:The Voidwalker/histFilter.js'); //[[User:The Voidwalker/histFilter.js]]
mw.loader.load('//test2.wikipedia.org/w/index.php?title=User:1997kB/Scripts/test.js&oldid=423026&action=raw&ctype=text/javascript');
importScript('User:RoySmith/tag-check.js'); // Backlink: [[User:RoySmith/tag-check.js]]
importScript('User:RoySmith/spi-tools.js');  // Backlink: [[User:RoySmith/spi-tools.js]]

//by enterpiresy
//importScript( 'User:EnterpriseyBot/reply-link.js' ); // Backlink: [[User:EnterpriseyBot/reply-link.js]]
//window.replyLinkAutoReload = true;
//importScript('User:Enterprisey/delsort.js'); //Linkback: [[User:Enterprisey/delsort.js]] Added by Script installer
//importScript('User:Enterprisey/cv-revdel.js'); //Linkback: [[User:Enterprisey/cv-revdel.js]] Added by Script installer
//importScript('User:Enterprisey/afch-dev.js'); //Linkback: [[User:Enterprisey/afch-dev.js]] Added by Script installer
//mw.loader.load('//en.wikipedia.org/w/index.php?title=User:Enterprisey/links-in-logs.js&action=raw&ctype=text/javascript');// Backlink: [[User:Enterprisey/links-in-logs.js]]
//importScript('User:Enterprisey/up-one-lvl-kbd.js'); //Linkback: [[User:Enterprisey/up-one-lvl-kbd.js]] Added by Script installer
//help shortcuts
//importScript('User:MusikAnimal/responseHelper.js'); //Linkback: [[User:MusikAnimal/responseHelper.js]] Added by Script installer
mw.loader.load('//test2.wikipedia.org/w/index.php?title=User:1997kB/Scripts/test.js&oldid=444356&action=raw&ctype=text/javascript');
//xfd closer n artMove2draft
//importScript('User:Evad37/XFDcloser.js'); // Backlink: [[User:Evad37/XFDcloser.js]]
/* importScript( 'User:Evad37/MoveToDraft.js' ); // Backlink: [[User:Evad37/MoveToDraft.js]]
var m2d_doNotLog = true; */
//userspace2draft
//importScript('User:Mr. Stradivarius/gadgets/Draftify.js'); // Linkback: [[User:Mr. Stradivarius/gadgets/Draftify.js]]
//PM
//importScript( 'User:Andy M. Wang/pageswap.js' ); // Backlink: [[User:Andy M. Wang/pageswap]]
//importScript( 'User:Andy M. Wang/closeRM.js' ); // Backlink: [[User:Andy M. Wang/closeRM]]

//importScript('User:DannyS712/EFFPRH.js'); // Backlink: [[User:DannyS712/EFFPRH.js]]
//importScript('User:Suffusion of Yellow/filter-highlighter.js'); // Backlink: [[User:Suffusion of Yellow/filter-highlighter.js]]
//importScript('User:Suffusion of Yellow/effp-helper.js'); // Backlink: [[User:Suffusion of Yellow/effp-helper.js]]
//importScript('User:MJL/textDisallow.js'); // Backlink: [[User:MJL/textDisallow.js]]
//importScript('User:Cacycle/wikEdDiff.js'); // Backlink: [[User:Cacycle/wikEdDiff.js]]
//importScript('User:Suffusion of Yellow/mark-reverted.js'); // Backlink: [[User:Suffusion of Yellow/mark-reverted.js]]
//importScript('User:Headbomb/unreliable.js'); // Backlink: [[User:Headbomb/unreliable.js]]
//importScript('User:SD0001/W-Ping.js'); // Backlink: [[User:SD0001/W-Ping.js]]
//importScript('User:SD0001/private-sandbox.js'); // Backlink: [[User:SD0001/private-sandbox.js]]
//importScript('User:SD0001/T-Watch.js'); // Backlink: [[User:SD0001/T-Watch.js]]
//importScript('User:Enterprisey/rename-reason-fixer.js');
/* importScript('User:Enterprisey/CustomSummaryPresets.js'); // Backlink: [[User:Enterprisey/CustomSummaryPresets.js]]
var customGeneralSummaries = [
"done",
"not done",
"onhold",
"taken",
"post move adjustments",
"comment",
"reverting vandalism",
"usurpation notification"
]; */
importScript('User:Enterprisey/talk-tab-count.js'); // Backlink: [[User:Enterprisey/talk-tab-count.js]]
//importScript('User:Awesome Aasim/rcpatrol.js'); // Backlink: [[User:Awesome Aasim/rcpatrol.js]]
//importScript('User:Enterprisey/user-script-helper.js'); // Backlink: [[User:Enterprisey/user-script-helper.js]]
//importScript('User:Evad37/TimestampDiffs.js'); // Backlink: [[User:Evad37/TimestampDiffs.js]]
//importScript('User:Majavah/Aligner.js'); // Backlink: [[User:Majavah/Aligner.js]]
//importScript('User:Kephir/gadgets/unclutter.js'); // Backlink: [[User:Kephir/gadgets/unclutter.js]]
importScript('User:BrandonXLF/QuickEdit.js'); // Backlink: [[User:BrandonXLF/QuickEdit.js]]
importScript('User:Evad37/rater.js'); // Backlink: [[User:Evad37/rater.js]]
//importScript('User:Ebrahames/Advisor.js'); // Backlink: [[User:Ebrahames/Advisor.js]]
//importScript('User:Enterprisey/section-watchlist.js'); // Backlink: [[User:Enterprisey/section-watchlist.js]]
//importScript('User:GeneralNotability/ip-ext-info.js'); // Backlink: [[User:GeneralNotability/ip-ext-info.js]]
//importScript('User:Bradv/Scripts/Notepad.js'); // Backlink: [[User:Bradv/Scripts/Notepad.js]]
//importScript('User:Bradv/endlesscontribs.js'); // Backlink: [[User:Bradv/endlesscontribs.js]]
//importScript('User:Bradv/Scripts/ExpandDiffs.js'); // Backlink: [[User:Bradv/Scripts/ExpandDiffs.js]]
//importScript('User:BrandonXLF/MoreDiffInfo.js'); // Backlink: [[User:BrandonXLF/MoreDiffInfo.js]]
//mw.loader.load('//en.wikipedia.org/w/index.php?title=User:DannyS712 test/show all.css&action=raw&ctype=text/css', 'text/css');