MediaWiki:Image-attribution.js

// Add template to the upload page // @author: UltimateSupreme if (mw.config.get('wgCanonicalSpecialPageName') === 'Upload') { if (!$('#wpUploadDescription').val) { jQuery(function ($) {           'use strict';            $('#wpUploadDescription').val( '');       });    } }