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'    ] });