User:Aua/GA.js

// if(wgAction=="edit") addOnloadHook(function { addPortletLink('p-cactions','javascript:addSomeText(" ~")', 'GA'); }); function addSomeText(text) { txtb = document.getElementById('wpTextbox1'); txtb.value += text; document.getElementById('wpSummary').value= "Passed for GA"; document.getElementById('wpPreview').click; }//