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.
/**** Intended to pre-fill a "edit new section" form for the translation pleas generated by MediaWiki:UploadForm.js */functionPreFillUploadFormTranslation(){try{if(mw.config.get('wgPageName')=='MediaWiki_talk:UploadFormLabels/UploadFormTranslations'){varlanguage=getParamValue('language');varsection=getParamValue('uploadformitems');varsummary=document.editform.wpSummary;if(summary&&language)summary.value='Translations for language code '+language+', by \[\[User:'+mw.config.get('wgUserName')+'\]\]';vareditbox=document.editform.wpTextbox1;if(editbox){varfile='MediaWiki:UploadForm';varstr=null;switch(section){case'help':file=file+'HelpTexts';str='help texts';break;case'error_msgs':file=file+'ErrorMessages';str='error messages';break;case'labels':file=file+'LabelTexts';str='labels';break;default:file=file+'Texts';str='texts';}editbox.value='Thank you, \[\[User:'+mw.config.get('wgUserName')+'\]\], for volunteering to translate the upload form. Just add your translations '+'in the edit box below.\n\n'+'\<div style="font-size:smaller"\>\{\{'+file+'\}\}\<\/div\>\n\n'+'Above, you will see a list of all the '+str+' the upload form uses. '+'Please add your translations below.\n\n'+'(If you do not see any English texts above the edit form, click "preview"!)\n\n'+'=== New translations by \[\[User:'+mw.config.get('wgUserName')+'\]\] ===\n\n';varpreview=document.getElementById('wpPreview');if(preview){varto_hide=document.getElementById('bodyContent')||document.getElementById('mw_contentholder')||document.forms[0];if(to_hide)to_hide.style.display='none';preview.click();}elseeditbox.value=editbox.value+'\nClick preview to see the English texts!\n\n';}}}catch(e){// Swallow}}$(document).ready(function(){PreFillUploadFormTranslation();});