Wikipedia:WikiProject User scripts/Scripts/Rationale
/*
*/ function nonfree() { var desc = document.getElementById("wpUploadDescription"); desc.value = '{{Non-free media rationale\n'+ '|Description=\n'+ '|Source=\n'+ '|Portion=\n'+ '|Resolution=\n'+ '|Purpose=\n'+ '|Replaceability=\n'+ '|other_information=\n'+ '}}'; } addOnloadHook(function() { addPortletLink('p-tb', 'javascript:nonfree()', 'Add non-free rationale'); } /*
*/