User:Bardic Wizard/link.js

addOnloadHook(function { mw.util.addPortletLink( "p-personal", mw.config.get('wgServer') + mw.config.get('wgScriptPath') + "/index.php?title=:", " ", "pt-", "Link to ", "A", document.getElementById("pt-logout")); });