User:Tupka217/global.js

mw.loader.using(['mediawiki.util', 'ext.fandom.ContentReview.legacyLoaders.js'], function {   importArticles({ type: 'script', articles: [ 'u:dev:DiscussionsRC.js', 'u:dev:MediaWiki:MassNullEdit/code.js', 'u:dev:MediaWiki:ViewNotificationsUsers.js', 'u:dev:MediaWiki:FileUsageAuto-update/code.js', 'u:dev:MediaWiki:MultiUpload.js', 'u:dev:MediaWiki:DupeArgs.js', ]   }); })

/* Change RecentChanges layout to not-ugly */ /* Remove if https://phabricator.wikimedia.org/T202916 ever gets fixed. Original by Whatamidoing-WMF */ mw.loader.using("mediawiki.user", function {	if ( mw.user.options.get('usenewrc') !== 0 ) {		mw.loader.load("mediawiki.notify");		( new mw.Api ).postWithToken( 'options', { action: "options", change: "usenewrc=0" } ).done( function { mw.loader.using("mediawiki.notify", 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');	} } );