User:Wzrd1/EditCounterOptIn.js

//Test Script function addEditCounter{ mw.util.addPortletLink("p-personal","https://toolserver.org/~tparis/pcount/index.php?&name="+wgUserName +"&lang=en&wiki=wikipedia" ,"Edit Counter","pt-mycounter","Edit Counter", "", document.getElementById('pt-logout')); } addOnloadHook(addEditCounter);