User:Thedjatclubrock/script2.js

// User:thedjatclubrock/script2.js adapted from Animum

function es { document.editform.wpSummary.value = "Correcting mistake"; //Make a descriptive edit summary document.editform.wpSave.click; //Submit it! } function tab { { mw.util.addPortletLink('p-cactions', 'javascript:es', 'ES :(', 'ca-reset', "Change edit summary"); } }

addOnloadHook(tab);