User:Yoshi24517/Scripts/Edit count.js

$.when( mw.loader.using( ['mediawiki.util'] ), $.ready ).done(function {   mw.util.addPortletLink( 'p-personal', 'https://xtools.wmflabs.org/ec/en.wikipedia.org/' + mw.config.get('wgUserName'), "Edit count (XTools)", null, 'View your edit count on XTools.', null, '#pt-preferences' ); });