User:Jj137/warn-alt.js

function final { var f = document.editform, t = f.wpTextbox1; if (t.value.length > 0) t.value += '\n'; t.value += ""; f.wpSummary.value = "Final warning for vandalism."; }

function tabs { // Only add for pages with the right string somewhere in the title if (document.title.indexOf("Editing User talk:") != -1) {     mw.util.addPortletLink('p-cactions', 'javascript:final', "final"); } }

$(tabse);

//end script

//