MediaWiki:Common.js

if (['MultipleUpload', 'Upload'].indexOf(mw.config.get('wgCanonicalSpecialPageName')) > -1) { importScript('MediaWiki:Common.js/uploadform.js'); }