User:Au ggmen/global.js

//AjaxRC configuration option window.ajaxRefresh = 30000;

window.topLevelCat = ''; window.cacheSkip = []; window.cacheSkipLimit = 1000; window.CacheCheckRemove = false;

// Display 12 hour time followed by day, month (English, full name) // and year with "(UTC)" at the end window.DisplayClockJS = '%2I:%2M:%2S %p %2d %{January;February;March;April;May;June;July;August;September;October;November;December}m %Y (UTC)';

/* Imports */ importArticles({   type: 'script',    articles: [    	'u:dev:MediaWiki:AjaxAbuseLog.js',        'u:dev:MediaWiki:AjaxBatchDelete/code.2.js',		'u:dev:MediaWiki:AjaxUndo/code.js',		'u:dev:MediaWiki:AjaxRC/code.js',		'u:dev:MediaWiki:AjaxRedirect/code.js',		'u:dev:MediaWiki:AllPagesHideRedirect/code.js',		'u:dev:MediaWiki:AutoPurge/code.js',		'u:dev:MediaWiki:BackToTopButton/code.js',		'u:dev:MediaWiki:CacheCheck/code.js',		'u:dev:MediaWiki:DeleteTalkpage.js',        'u:dev:MediaWiki:FindAndReplace/code.js',		'u:dev:MediaWiki:MassCategorization/code.js',		'u:dev:MediaWiki:MassNullEdit/code.js',		'u:dev:MediaWiki:MassProtect/code.js',		'u:dev:MediaWiki:UploadMultipleFiles.js',		'u:dev:MediaWiki:NoImageLightbox/code.js',		'u:dev:MediaWiki:Nuke/code.js',        'u:dev:MediaWiki:NullEditButton/code.js',		'u:dev:MediaWiki:RedirectManagement/code.js',		'u:dev:MediaWiki:ReferencePopups/code.js',		'u:dev:MediaWiki:Rollback/code.js', 'u:dev:MediaWiki:UCXSearchBar.js', 'u:dev:MediaWiki:UTCClock/code.js', 'u:dev:MediaWiki:View_Raw/code.js', 'u:dev:MediaWiki:WHAM/code.2.js' ] });

window.nukeDeleteReason = "Cleanup of pages created by $1"; window.nukeDelay = 1000; window.nukeTitle = "Mass delete all pages created by this user";

window.AjaxUndoMinor = true; window.AjaxUndoPrompt = true;

window.batchDeleteDelay = 100;

window.BackToTopModern = true; window.BackToTopArrow = true;

if (mw.config.get("wgNamespaceNumber") === 0) { window.autoPurgePages = [mw.config.get("wgPageName")]; }

/* Main */ mw.loader.using('mediawiki.util', function {	/* Cache Config */	var conf = mw.config.get( [ 'wgAction', 'wgCanonicalSpecialPageName', 'wgPageName', 'wgTitle', 'wgSiteName' ] ),	escapedPageName = encodeURIComponent(conf.wgPageName);	/* START Special page code */	switch (conf.wgCanonicalSpecialPageName) {		case "Blankpage":			/* START Blank page code */			switch ($.getUrlVar('blankspecial')) {				/* Duplicate Files */				case "listdupefiles":					document.title = 'Duplicate files | ' + conf.wgSiteName;					$('.header-title h1').text('Duplicate files');					$('#mw-content-text').html(' ');					importScriptPage('DupImageList/code.js', 'dev');				break;			}			/* END Blank page code */		break;		/* IP lookup on contributions */		case "Contributions":			var username = conf.wgTitle.split('/')[1];			if (mw.util.isIPv4Address(username) || mw.util.isIPv6Address(username))				$('.masthead-info h2').html('(lookup)');		break;	}	/* List all titles on UncategorizedFiles and similar pages */	if (conf.wgCanonicalSpecialPageName !== false && $('.gallerytext').length) { $('#mw-content-text').prepend(''); var titles = []; $('.gallerytext a').each(function {			titles.push($(this).attr('title').trim);		}); $('#name-output').append(titles.sort.join('\n')); }	/* No redirect when moving files */ if (conf.wgPageName.indexOf("Special:MovePage/File:") != -1 && document.getElementById('wpLeaveRedirect').checked) $('#wpLeaveRedirect').removeAttr('checked'); });