User:Nikkimaria/modern.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.
importScript('User:SD0001/GAR-helper.js'); // [[User:SD0001/GAR-helper.js]]
importScript('User:Harej/citation-watchlist.js');
importScript('User:Cyberpower678/IABooks.js');

importScript( 'User:Headbomb/unreliable.js' ); // Backlink: [[User:Headbomb/unreliable.js]]
importScript('User:Shubinator/DYKcheck.js'); //DYKcheck tool

importScript('User:Galobtter/Shortdesc helper.js'); // [[User:Galobtter/Shortdesc helper]]
importScript('Wikipedia:WikiProject User scripts/Scripts/Changes since I last edited');
importScript('User:Ale_jrb/Scripts/userhist.js');  //[[User:Ale_jrb/Scripts]]
importScript('User:Mr.Z-man/patrollinks.js')

// [[User:Krimpet/CH2.js]]
importScript('User:Krimpet/CH2.js');
importScript('User:Cameltrader/Advisor.js');
importScript('User:Ale_jrb/Scripts/csdhelper.js');  //[[User:Ale_jrb/Scripts]]
importScript('User:Gary King/script installer.js'); // [[User:Gary King/script installer.js]]
importScript('User:Dr_pda/prosesize.js'); //[[User:Dr_pda/prosesize.js]]

importScript('User:Ucucha/HarvErrors.js');
importScript('User:Ucucha/duplinks.js'); // [[User:Ucucha/duplinks.js]]
importScript('User:Equazcion/RemoveMarkAll.js'); // [[User:Equazcion/RemoveMarkAll.js]]
importScript('User:Ohconfucius/test/Sources.js'); // [[User:Ohconfucius/test/Sources.js]]
mw.loader.load("//www.wikidata.org/w/index.php?title=User:Yair rand/WikidataInfo.js&action=raw&ctype=text/javascript");// [[d:User:Yair rand/WikidataInfo.js]]

/* Change RecentChanges layout to not-ugly */
 /* Remove if https://phabricator.wikimedia.org/T202916 ever gets fixed */
mw.loader.using("mediawiki.user", function() {
	if ( mw.user.options.get('usenewrc') !== 0 ) {
		( new mw.Api() ).postWithToken( 'options', {
			action: "options",
			change: "usenewrc=0"
		} ).done( function() {
			mw.loader.using([], function(){
				mw.notify( "RecentChanges formatting has been reset.  You may need to change the URL to remove 'enhanced=1'." );
			} );
		} );
	} else {
		console.log('RecentChanges formatting was not ugly this time');
	}
} );