Jump to content

User:Haza-w/interiot.js

From Wikipedia, the free encyclopedia
This is an old revision of this page, as edited by Haza-w (talk | contribs) at 19:47, 3 June 2009 (modified to use X!'s tools). The present address (URL) is a permanent link to this revision, which may differ significantly from the current revision.
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.
// This script used to be much more complex,
// back in the days before wikibits!
// Now it's just a couple of lines of code...

addOnloadHook(function () {
  addPortletLink('p-personal','http://toolserver.org/~soxred93/count/index.php?lang=en&wiki=wikipedia&name='+encodeURIComponent(wgUserName),'My edit count','pt-editcount','View edit count',false,document.getElementById('pt-logout'));
  addPortletLink('p-personal','http://toolserver.org/~soxred93/editsummary/index.php?lang=en&wiki=wikipedia&name='+encodeURIComponent(wgUserName),'My summary usage','pt-editsummaries','View edit summary usage',false,document.getElementById('pt-logout'));
} );