Jump to content

User:Tamzin/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.
// General
// [[m:MoreMenu]]: Whole bunch of useful buttons
mw.loader.using(['mediawiki.util', 'mediawiki.api'], function () {
	mw.loader.load('https://en.wikipedia.org/w/?title=MediaWiki:Gadget-MoreMenu.enwiki.js&action=raw&ctype=text/javascript');
});
// [[WP:JWB]]
mw.loader.load('//en.wikipedia.org/w/index.php?title=User:Joeytje50/JWB.js/load.js&action=raw&ctype=text/javascript');
// [[User:SD0001/deleted-metadata-link.js]]: See metadata of deleted pages
importScript('User:SD0001/deleted-metadata-link.js');

// Mainspace-oriented
// [[User:Dr pda/prosesize.js]]: Get a page's prose wordcount
importScript('User:Dr pda/prosesize.js');
// [[User:Andy M. Wang/pageswap]]: Swap pages' histories
importScript('User:Andy M. Wang/pageswap.js');
// [[User:Wugapodes/Capricorn]]: Redirect categorization
mw.loader.load('//en.wikipedia.org/w/index.php?title=User:Wugapodes/Capricorn.js&action=raw&ctype=text/javascript');
// [[User:Novem Linguae/Scripts/CiteHighlighter]]: Highlight source quality
importScript('User:Novem Linguae/Scripts/CiteHighlighter.js');
 // [[User:Trappist the monk/HarvErrors.js]]
importScript('User:Trappist the monk/HarvErrors.js');
importScript( 'User:Qwertyytrewqqwerty/DisamAssist.js' ); // Backlink: [[User:Qwertyytrewqqwerty/DisamAssist.js]]

// Anti-abuse
// [[Wikipedia:Redwarn]]: Mostly counter-vandalism-oriented
mw.loader.load( '/w/index.php?title=User:RedWarn/.js&action=raw&ctype=text/javascript' );
// Mark locked accounts
importScript('User:GeneralNotability/mark-locked.js');
// All the IP information you want, in one place
importScript('User:GeneralNotability/ip-ext-info.js ');
// Rollback summaries and more (requires `rollback`)
mw.loader.load("https://meta.wikimedia.org/w/index.php?title=User:Blablubbs/rbk.js&action=raw&ctype=text/javascript");
// [[User:Tamzin/scripts/massRollbackWithBotMode.js]]: Mass rollback (requires `rollback` and `markbotedits`)
importScript('User:Tamzin/scripts/massRollbackWithBotMode.js');
//Mass revdel (admin-only)
importScript( 'User:Writ Keeper/Scripts/massRevdel.js' );
// [[User:Mr. Stradivarius/gadgets/SpamUserPage.js]] (admin-only)
importScript('User:Mr. Stradivarius/gadgets/SpamUserPage.js');


// Other-namespace-oriented
// [[User:PleaseStand/userinfo.js]]: Information when you view a userpage
importScript("User:PleaseStand/userinfo.js");
// [[User:Evad37/OneClickArchiver]]: Archive discussion-page content
importScript('User:Evad37/OneClickArchiver.js');

// Specific venues
importScript('User:SD0001/RFUD-helper.js'); // [[User:SD0001/RFUD-helper.js]]
// [[WP:SPI]]
/* [[User:Writ Keeper/Scripts/cuStaleness.js]] & [[User:Writ Keeper/Scripts/sockStaleness.js]]:
   See whether accounts/IPs are likely stale for CU; see who created them */
importScript('User:Writ Keeper/Scripts/cuStaleness.js'); // I wrote part of this one!
importScript('User:Writ Keeper/Scripts/sockStaleness.js');
// [[WP:SPIHELPER]]: If you're not a clerk/CU/patrolling admin, you don't need this
importScript('User:GeneralNotability/spihelper.js'); // And a much smaller part of this one
maxUsersCUStaleness = 100;
lazyCheckCUStaleness = false;
// [[User:RoySmith/tag-check.js]]: Ditto
importScript('User:RoySmith/tag-check.js');
// [[WP:EFFP]]
// [[User:Suffusion of Yellow/effp-helper.js]]: Proxy edits caught in the filter
importScript( 'User:Suffusion of Yellow/effp-helper.js' );
// [[User:Suffusion of Yellow/batchtest-plus.js]]: Test new filters against old hits
importScript( 'User:Suffusion of Yellow/batchtest-plus.js' );
window.batchTestPlusMaxConcurrentRequests = 5;

// Wikidata
// [[User:Yair rand/WikidataInfo.js]]: Information about a page's Wikidata item
mw.loader.load("//www.wikidata.org/w/index.php?title=User:Yair rand/WikidataInfo.js&action=raw&ctype=text/javascript");