Jump to content

User:Cabayi/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.wpDarkModeAutoToggle = true;
lazyCheckCUStaleness = false;

importScript( 'User:Ahecht/Scripts/pageswap.js' );
importScript( 'User:Anomie/useridentifier.js' ); // Backlink: [[User:Anomie/useridentifier.js]]
importScript( 'User:Bradv/Scripts/Superlinks.js' ); // Backlink: [[User:Bradv/Scripts/Superlinks.js]]
importScript( 'User:DannyS712/DiscussionCloser.js' ); // [[User:DannyS712/DiscussionCloser.js]]
importScript( 'User:Enterprisey/cv-revdel.js' ); // Backlink: [[User:Enterprisey/cv-revdel.js]]
importScript( 'User:Enterprisey/rename-reason-fixer.js' ); // Backlink: [[User:Enterprisey/rename-reason-fixer.js]]
importScript( 'User:Enterprisey/url-select-revdel.js' ); // Backlink: [[User:Enterprisey/url-select-revdel.js]]
importScript( 'User:Equazcion/OneClickArchiver.js' ); // Backlink: [[User:Equazcion/OneClickArchiver.js]]
// importScript( 'User:Evad37/MoveToDraft.js' ); // Backlink: [[User:Evad37/MoveToDraft]]
importScript( 'User:Firefly/more-block-info.js' );
importScript( 'User:Fox Wilson/delsort.js' ); // Deletion sorting script [[WP:FWDS]]
importScript( 'User:GeneralNotability/spihelper.js' ); // Backlink: [[User:GeneralNotability/spihelper.js]]
importScript( 'User:Lourdes/PageCuration.js' ); // Backlink: User:Lourdes/PageCuration.js
importScript( 'User:MPGuy2824/MoveToDraft.js' ); // Backlink: [[User:MPGuy2824/MoveToDraft.js]]
importScript( 'User:Mr. Stradivarius/gadgets/SpamUserPage.js' ); // Linkback: [[User:Mr. Stradivarius/gadgets/SpamUserPage.js]]
importScript( 'User:MusikAnimal/responseHelper.js' );
importScript( 'User:MusikAnimal/userRightsManager.js' ); // Backlink: [[User:MusikAnimal/userRightsManager.js]]
importScript( 'User:Nardog/CopySectLink.js' );
mw.loader.load('//en.wikipedia.org/w/index.php?title=User:Nardog/MoveHistory.js&action=raw&ctype=text/javascript');
importScript( "User:PleaseStand/userinfo.js" ); //gender flags
importScript( 'User:RoySmith/tag-check.js' );
importScript( 'User:Rublov/diff-link.js' );
importScript( 'User:Þjarkur/Highlight homographs in title.js' );
importScript( 'User:Writ Keeper/Scripts/cuStaleness.js' );
importScript( 'User:Writ Keeper/Scripts/sockStaleness.js' );
importScript( 'User:Amalthea/culoghelper.js' );
mw.loader.load( '//meta.wikimedia.org/w/index.php?title=User:Ladsgroup/CheckUserHelper.js&action=raw&ctype=text/javascript');
mw.loader.load( "https://meta.wikimedia.org/w/index.php?title=User:Zhaofeng_Li/Reflinks.js&action=raw&ctype=text/javascript" );

//===========================
//importScript( 'User:Amalthea/userhighlighter.js' ); // Backlink: [[User:Amalthea/userhighlighter.js]]
importScript( 'User:Amorymeltzer/crathighlighter.js' ); // Backlink: [[User:Amorymeltzer/crathighlighter.js]]
// window.highlight_order = ['arbcom', 'bureaucrat', 'oversight', 'checkuser', 'intadmin', 'sysop', 'steward'];
window.highlight_order = ['intadmin', 'checkuser', 'oversight', 'steward', 'sysop'];
//===========================
// Remove save from target page by [[User:Xaosflux]] - Released under [https://creativecommons.org/publicdomain/zero/1.0/ CC0 1.0]
function no_save_on_special_sandbox()
{
	// Only for my nosave sandbox
	if (document.title.indexOf("Editing User:Cabayi/sandbox/nosave") != -1)
	{
		var element = document.getElementById("wpSaveWidget");
		element.parentNode.removeChild(element);
	}
}
$(no_save_on_special_sandbox);