User:GorillaWarfare/common.js

Source: 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.
importScript('User:Plastikspork/admindash.js');
importScript('User:Dr pda/prosesize.js');
importScript('User:Ale_jrb/Scripts/csdhelper.js');  //[[User:Ale_jrb/Scripts]]
importScript('User:Shubinator/DYKcheck.js');
importScript('User:Ohconfucius/script/EngvarB.js');  //[[User:Ohconfucius/script/EngvarB.js]]
importScript('User:फ़िलप्रो/script/EN-IN.js'); // [[User:फ़िलप्रो/script/EN-IN.js]]
importScript('User:Ohconfucius/script/MOSNUM dates.js'); // [[User:Ohconfucius/script/MOSNUM dates.js]]
importScript('User:Scottywong/diffconverter.js'); //[[User:Scottywong/diffconverter.js]]
importScript('User:Timotheus Canens/spihelper.js');
importScript('User:Writ Keeper/Scripts/massRollback.js');
importScript( 'User:MusikAnimal/responseHelper.js' ); // Backlink: [[User:MusikAnimal/responseHelper.js]]
importScript('User:Mr. Stradivarius/gadgets/ConfirmRollback.js'); // Linkback: [[User:Mr. Stradivarius/gadgets/ConfirmRollback.js]]
importScript('User:Evad37/duplinks-alt.js'); // [[User:Evad37/duplinks-alt]]
importScript('User:Anomie/unsignedhelper.js'); // Linkback: [[User:Anomie/unsignedhelper.js]]
importScript('User:Amalthea/culoghelper.js');
importScript('User:Trappist the monk/HarvErrors.js');
importScript('User:GorillaWarfare/script/curlies.js');
mw.loader.getScript('http://127.0.0.1:5500/scripts/patch-test-loader.js'); // Twinkle testing
importScript('User:Terasail/Edit Request Tool.js'); // [[User:Terasail/Edit Request Tool]]
importScript('User:Anomie/unsignedhelper.js'); // Linkback: [[User:Anomie/unsignedhelper.js]]
importScript( 'User:Headbomb/unreliable.js' ); // Backlink: [[User:Headbomb/unreliable.js]]

// ConfirmRollback
ConfirmRollback = {
  watchlist: "confirm",
  contributions: "confirm"
}

// Add Easyreader functionality
$( document ).ready( function () {
	
	// Clicking "Easyreader" in the bar in the top left toggles Easyreader
	var erLink = mw.util.addPortletLink( 'p-personal', '#', 'Easyreader', 'pt-easyreader',
	 'Reformat this page so it\'s easier to read', null, '#pt-logout' );
	$( erLink ).click( function ( e ) {
		e.preventDefault();
		$( 'html' ).toggleClass( 'easyreader' );
	});
	
	// Ctrl-Y toggles Eas[y]reader
	$(document).keydown( function ( e ) {
		if ( e.keyCode==89 && e.ctrlKey ) {
		    $( 'html' ).toggleClass( 'easyreader' );
		}
	});
});
importScript('User:Enterprisey/diff-permalink.js'); // Backlink: [[User:Enterprisey/diff-permalink.js]]
importScript('User:Epicgenius/sortcategories.js'); // Backlink: [[User:Epicgenius/sortcategories.js]]
importScript('User:Evad37/OneClickArchiver.js'); // Backlink: [[User:Evad37/OneClickArchiver.js]]
importScript('User:DannyS712/DiscussionCloser.js'); // Backlink: [[User:DannyS712/DiscussionCloser.js]]
importScript('User:Wugapodes/Capricorn.js'); // Backlink: [[User:Wugapodes/Capricorn.js]]
importScript('User:Enterprisey/copy-section-link.js'); // Backlink: [[User:Enterprisey/copy-section-link.js]]
importScript('User:SD0001/DYK-helper.js'); // Backlink: [[User:SD0001/DYK-helper.js]]
importScript('User:MPGuy2824/MoveToDraft.js'); // Backlink: [[User:MPGuy2824/MoveToDraft.js]]
mw.loader.load('//en.wikipedia.org/w/index.php?title=User:Joeytje50/JWB.js/load.js&action=raw&ctype=text/javascript');