User:Scott/toolbox-useranalysis.js

/** * Add a link to edit counter from X!'s tools (https://tools.wmflabs.org/xtools) to your personal portlet menu. */

var url = 'https://tools.wmflabs.org/xtools-ec/index.php?user=' + mw.user.getName + '&project=en.wikipedia'; mw.util.addPortletLink(   'p-personal',    url,    'User Analysis',    'pt-useranalysis',    'Analyze contributions',    null,    '#pt-logout' );