User:Void/links.js

if( mw.config.get('skin') == 'vector' ) { // untested in other skins

$('#p-tb').before('Tool Links  ');

mw.util.addPortletLink(   'p-voidlinks',    mw.util.getUrl("Special:AbuseLog"),    'AbuseLog',    'pt-abuseloglink',    'View the Abuse Log' );

if( mw.config.get('wgDBname') == 'metawiki' ) { mw.util.addPortletLink(		'p-voidlinks',		'https://meta.miraheze.org/wiki/Special:RequestWikiQueue?status=inreview',		'Open wiki requests',		'pt-openwreq',		'View the queue of \"in review\" wiki requests'	); mw.util.addPortletLink(		'p-voidlinks',		mw.util.getUrl('Special:GlobalRenameQueue/open'),		'GlobalRenameQueue',		'pt-renamequeue',		"See all open rename requests"	); }

// User:Void/centralAuthLink.js var user = mw.config.get( 'wgRelevantUserName' ); if( user !== null && !mw.util.isIPAddress(user) ) { mw.util.addPortletLink(		'p-voidlinks',		mw.util.getUrl( ( mw.config.get('wgDBname') === 'metawiki' ? '' : 'meta:' ) + 'Special:CentralAuth/' + user ),		'Central Auth',		't-centralauth',		'View global account information'	); }

}