Note: After saving, you have to bypass your browser's cache to see the changes. Internet Explorer: press Ctrl-F5, Mozilla: hold down Shift while clicking Reload (or press Ctrl-Shift-R), Opera/Konqueror: press F5, Safari: hold down Shift + Alt while clicking Reload, Chrome: hold down Shift while clicking Reload.
//// Insert a personalized Texttemplate into the Special:Upload edit box. From [[User:Dschwen]]//functionsetSpecialUploadTemplate(){varuploadURL='http://commons.wikimedia.org/w/index.php?title=Special:Upload&uselang=ownwork';// I upload mostly my own workdocument.getElementById('n-upload').firstChild.href=uploadURL;// preload input formif(window.location.href==uploadURL){vareditbox=document.getElementById('wpUploadDescription');if(editbox.value==''){editbox.value="{"+"{Information\n"+"|Description={{en| }} {{fi| }}\n"+"|Source=own work\n"+"|Date=\n"+"|Author=[[User:Dilaudid|Markus Koljonen]]\n"+"|Permission=see below\n"+"|other_versions=\n"+"}"+"}";}varlicensemenu=document.getElementById('wpLicense');licensemenu.value="self|GFDL|cc-by-sa-2.5,2.0,1.0";}}addOnloadHook(setSpecialUploadTemplate);