User:Anthony2306/global.js

/* Auto-categorizes images to Category:Images. */ if (mw.config.get('wgCanonicalSpecialPageName') === 'MultipleUpload' || mw.config.get('wgCanonicalSpecialPageName') === 'Upload') { if (!$.getUrlVar('wpForReUpload') && !$('#wpUploadDescription').val) { jQuery(function ($) {           'use strict';            $('#wpUploadDescription').val('');        }); } } importArticles({   type: 'script',    articles: [        'u:dev:MediaWiki:RedirectManagement/code.js',        'u:dev:MediaWiki:RemoveLegacyThreads.js',        'u:dev:MediaWiki:AjaxBatchDelete.js',        'u:dev:MediaWiki:MassCategorization/code.js',        'u:dev:MediaWiki:MassEdit/code.js',        'u:dev:MediaWiki:MassProtect/code.js',    ] });