MediaWiki:Common.js/filluploadform.js

/* Automatically fills the summary field in upload form with imagebox * by: User:KettleMeetPot */ $(function {   if ( mw.config.get('wgCanonicalSpecialPageName') == "Upload" || mw.config.get('wgCanonicalSpecialPageName') == "MultipleUpload") {	    var value = "{"+"{Imagebox\n"		+ "| description = \n"		+ "| film        = \n"		+ "| series      = \n"		+ "| season      = \n"		+ "| Chapter     = \n"    	+ "| Volume      = \n"		+ "| episode     = \n"		+ "| source      = \n"		+ "| origin      = \n"		+ "| cats        = \n"		+ "| license     = \n"		+ "}"+"}";		$('#wpUploadDescription').val(value);    } });