Jump to content

User:SQL/userinfo.js

From Wikipedia, the free encyclopedia
Note: After saving, you have to bypass your browser's cache to see the changes. Google Chrome, Firefox, Microsoft Edge and Safari: Hold down the ⇧ Shift key and click the Reload toolbar button. For details and instructions about other browsers, see Wikipedia:Bypass your cache.
//Three links to the toolbox, 'Edit count' (interiot's tool), 'Action Count', (My tool), and 'RFA Record' (also my tool)
 
function usercounts()
{
  addPortletLink("p-tb", "http://toolserver.org/~interiot/cgi-bin/Tool1/wannabe_kate?site=en.wikipedia.org&username=" + wgTitle, "Edit Count");
  addPortletLink("p-tb", "http://toolserver.org/~sql/sqlbot.php?user=" + wgTitle, "Action Count");
  addPortletLink("p-tb", "http://toolserver.org/~sql/rfap.php?user=" + wgTitle, "RFA Record");
  addPortletLink("p-tb", "http://toolserver.org/~sql/created.php?user=" + wgTitle, "Articles Created");
  addPortletLink("p-tb", "http://en.wikipedia.org/wiki/Special:UserRights/" + wgTitle, "User rights");
}
 
if ( wgNamespaceNumber > 1 && wgNamespaceNumber < 4 && wgTitle.indexOf("/") == -1 ) {
 addOnloadHook(usercounts);
}