Jump to content

User:L235/common.js

From Wikipedia, the free encyclopedia
This is an old revision of this page, as edited by L235 (talk | contribs) at 09:14, 3 December 2020 (Installing User:SD0001/quickViewDeleted.js (script-installer)). 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.
/*
 * Automatically tick the "Move subpages" option when moving pages.
 */
var moveSubpagesBox = document.getElementsByName("wpMovesubpages")[0];
if (moveSubpagesBox !== undefined) {
  moveSubpagesBox.checked = true;
}

if (!(/Android|webOS|iPhone|iPad|iPod|BlackBerry|IEMobile|Opera Mini/i.test( navigator.userAgent ))) {
	mw.loader.load('//de.wikipedia.org/w/index.php?title=Benutzer:TMg/autoFormatter.js&action=raw&ctype=text/javascript');
}

mw.loader.load('//en.wikipedia.org/w/index.php?title=User:The Earwig/copyvios.js&action=raw&ctype=text/javascript');
//mw.loader.load('//en.wikipedia.org/w/index.php?title=User:Evad37/XFDcloser.js&action=raw&ctype=text/javascript');
mw.loader.load('//en.wikipedia.org/w/index.php?title=User:Ais523/votesymbols.js&action=raw&ctype=text/javascript');
mw.loader.load('//en.wikipedia.org/w/index.php?title=User:Ale_jrb/Scripts/csdhelper.js&action=raw&ctype=text/javascript');
//mw.loader.load('//en.wikipedia.org/w/index.php?title=User:Theopolisme/Scripts/adminhighlighter.js&action=raw&ctype=text/javascript');
//mw.loader.load('//en.wikipedia.org/w/index.php?title=User:Timotheus Canens/spihelper.js&action=raw&ctype=text/javascript');
mw.loader.load('//en.wikipedia.org/w/index.php?title=User:Timotheus Canens/acimplnotes.js&action=raw&ctype=text/javascript');
mw.loader.load('//en.wikipedia.org/w/index.php?title=User:Andy M. Wang/pageswap.js&action=raw&ctype=text/javascript');
mw.loader.load('//en.wikipedia.org/w/index.php?title=User:Salix alba/Citoid.js&action=raw&ctype=text/javascript');

//SPI
lazyCheckCUStaleness = 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');


//Experimental
//mw.loader.load('//en.wikipedia.org/w/index.php?title=User:Enterprisey/links-in-logs.js&action=raw&ctype=text/javascript');

importScript('User:MusikAnimal/responseHelper.js'); // Backlink: [[User:MusikAnimal/responseHelper.js]]
importScript('User:MusikAnimal/userRightsManager.js'); // Backlink: [[User:MusikAnimal/userRightsManager.js]]


importScript('User:Enterprisey/unblock-review.js'); // Backlink: [[User:Enterprisey/unblock-review.js]]

//importScript('User:Writ Keeper/Scripts/commonHistory.js'); // Backlink: [[User:Writ Keeper/Scripts/commonHistory.js]]
//now globally installed

importScript('User:Mr. Stradivarius/gadgets/ConfirmRollback.js'); // Backlink: [[User:Mr. Stradivarius/gadgets/ConfirmRollback.js]]
ConfirmRollback = {
  mobile: "hide",
  desktop: "confirm"
};

importScript('User:Enterprisey/script-installer.js'); // Backlink: [[User:Enterprisey/script-installer.js]]
//importScript('User:Enterprisey/quick-before.js'); // Backlink: [[User:Enterprisey/quick-before.js]]
importScript('User:Enterprisey/more-listing-items.js'); // Backlink: [[User:Enterprisey/more-listing-items.js]]
importScript('User:Evad37/rater.js'); // Backlink: [[User:Evad37/rater.js]]

window.highlight_order = ['arbcom', 'steward', 'checkuser', 'oversight', 'sysop'];
importScript('User:Amorymeltzer/crathighlighter.js'); // Backlink: [[User:Amorymeltzer/crathighlighter.js]]
importScript('User:Bradv/Scripts/Superlinks.js'); // Backlink: [[User:Bradv/Scripts/Superlinks.js]]
//importScript('User:Vermont/easyblock.js'); // Backlink: [[User:Vermont/easyblock.js]]
//importScript('User:Amalthea/culoghelper.js'); // Backlink: [[User:Amalthea/culoghelper.js]]
importScript('User:Writ Keeper/Scripts/massRevdel.js'); // Backlink: [[User:Writ Keeper/Scripts/massRevdel.js]]
importScript('User:Amorymeltzer/osal.js'); // Backlink: [[User:Amorymeltzer/osal.js]]
//importScript('User:Enterprisey/set-js'); // Backlink: [[User:Enterprisey/set-js]]
//importScript('User:Enterprisey/diff-context.js'); // Backlink: [[User:Enterprisey/diff-context.js]]

// if (mw.config.get("wgNamespaceNumber")===-1 && mw.config.get("wgCanonicalSpecialPageName")==="CheckUser") mw.loader.load("//checkuser.wikimedia.org/w/index.php?title=User:Amalthea/cufilter.js&action=raw&ctype=text/javascript");
importScript('User:L235/culoghelper-personaltesting.js'); // Backlink: [[User:L235/culoghelper-personaltesting.js]]
importScript('User:Bellezzasolo/Scripts/arb.js'); // Backlink: [[User:Bellezzasolo/Scripts/arb.js]]
importScript('User:Timotheus Canens/massblock.js'); // Backlink: [[User:Timotheus Canens/massblock.js]]

mw.loader.load('//meta.wikimedia.org/w/index.php?title=User:Ladsgroup/CheckUserHelper.js&action=raw&ctype=text/javascript');
importScript('User:Enterprisey/link-deleted-revs.js'); // Backlink: [[User:Enterprisey/link-deleted-revs.js]]
importScript('User:DannyS712/DiscussionCloser.js'); // Backlink: [[User:DannyS712/DiscussionCloser.js]]
importScript('User:Evad37/OneClickArchiver.js'); // Backlink: [[User:Evad37/OneClickArchiver.js]]
//importScript('User:Alex Smotrov/histcomb.js'); // Backlink: [[User:Alex Smotrov/histcomb.js]]
importScript('User:SD0001/W-Ping.js'); // Backlink: [[User:SD0001/W-Ping.js]]
importScript('User:Enterprisey/undelete-backlink.js'); // Backlink: [[User:Enterprisey/undelete-backlink.js]]
importScript('User:Enterprisey/diff-permalink.js'); // Backlink: [[User:Enterprisey/diff-permalink.js]]

mw.loader.load('//test.wikipedia.org/w/index.php?title=User:L235/watchUserContribs.js&action=raw&ctype=text/javascript');
importScript('User:Bradv/Scripts/Notepad.js'); // Backlink: [[User:Bradv/Scripts/Notepad.js]]
importScript('User:GeneralNotability/spihelper.js'); // Backlink: [[User:GeneralNotability/spihelper.js]]
importScript('User:Headbomb/unreliable.js'); // Backlink: [[User:Headbomb/unreliable.js]]
importScript('User:Bradv/Scripts/ExpandDiffs.js'); // Backlink: [[User:Bradv/Scripts/ExpandDiffs.js]]
importScript('User:GeneralNotability/ip-ext-info.js'); // Backlink: [[User:GeneralNotability/ip-ext-info.js]]

window.replyLinkPreloadPingTpl = "{{re|##}} ";
//importScript('User:Enterprisey/reply-link.js'); // Backlink: [[User:Enterprisey/reply-link.js]]
importScript('User:Enterprisey/reply-link-dev.js'); // Backlink: [[User:Enterprisey/reply-link-dev.js]]

//mw.loader.load('http://127.0.0.1:8000/spihelper.js');
//mw.loader.load('http://127.0.0.1:8000/loadScripts.js');
importScript('User:SD0001/quickViewDeleted.js'); // Backlink: [[User:SD0001/quickViewDeleted.js]]