User:Drewmutt/central auth.js

var user = mw.config.get( 'wgRelevantUserName' ); if( user !== null ){ mw.util.addPortletLink(               'p-tb',                mw.util.getUrl('m:Special:CentralAuth/' + user),                'Central Auth',                't-centralauth',                'View global account information'        ); }