User:Choocolatiah/common.js

massRenameDelay = 1000; // Optional massRenameSummary = 'mass rename'; // Optional

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

importArticles({   type: 'script',    articles: [		'u:dev:MediaWiki:MassEdit/code.js',    ] }); // revamped from u:dev:ImageCategory/code.js (function {	var page = mw.config.get('wgCanonicalSpecialPageName');	if ( window.ImageCategoryLoaded || !(/Upload|MultipleUpload/g.test(page)) ) {       return;	}	window.ImageCategoryLoaded = true;	var queryString = window.location.search;	var urlParams = new URLSearchParams(queryString);

if (urlParams.get('wpForReUpload') != 1) { $('#wpUploadDescription').val(window.ImageCategory || ''); } });