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"	); }

}