User:WikiGregory/scripts/useronline.js

// // THIS SCRIPT IS FOR THE USERONLINE TEMPLATE // SEE THE DOCUMENTATION FOR ITS USE //

function CustomizeLinkModifications { var pagetoedit = "http://en.wikipedia.org/w/index.php?title=User:" + wgUserName + "&action=edit"; var hovertext = "" //put hover text here for link at top

//Sidebar addPortletLink("p-navigation", pagetoedit, "Edit your online status", "pt-statusnav", hovertext, "", "");

//Topbar addPortletLink("p-personal", pagetoedit, "Edit your online status", "pt-statuspers", hovertext, "", document.getElementById("pt-userpage")); } addOnloadHook(CustomizeLinkModifications);