Jump to content

User:Haza-w/interiot.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.
$.when( mw.loader.using( ['mediawiki.util'] ), $.ready ).done(function() {
  mw.util.addPortletLink('p-personal','http://tools.wmflabs.org/xtools/pcount/index.php?lang=en&wiki=wikipedia&name='+mw.util.rawurlencode(mw.config.get('wgUserName')),'edit count','pt-editcount','View edit count',false,'#pt-logout');
  mw.util.addPortletLink('p-personal','http://tools.wmflabs.org/xtools/editsummary/index.php?lang=en&wiki=wikipedia&name='+mw.util.rawurlencode(mw.config.get('wgUserName')),'summary usage','pt-editsummaries','View edit summary usage',false,'#pt-logout');
});