User:DangerousDangerously/sidebar.js

/* Sidebar */ //Adds a new box in the sidebar and populates it with custom links; originally by User:Grunny addOnloadHook( function {	$('#p-cactions').after(' My Tools     ');	addPortletLink('p-pql','/wiki/Special:RecentChanges','Recent Changes');	addPortletLink('p-pql','/wiki/Special:Contact/general','Special:Contact');	addPortletLink('p-pql','/wiki/Special:RandomPage','Random Page');	addPortletLink('p-pql','/wiki/Special:WhatLinksHere/' + wgPageName,'What Links Here');	addPortletLink('p-pql','/wiki/Special:CreatePage','Create a New Page');	addPortletLink('p-pql','/wiki/Special:Upload','Upload');	addPortletLink('p-pql','/wiki/Special:MultipleUpload','Multiple Upload');	if(wgCanonicalNamespace=="User" || wgCanonicalNamespace=="User_talk" || wgCanonicalNamespace=="User_blog") addPortletLink('p-pql','/wiki/Special:Editcount/' + wgPageName,'Edit Count');	else addPortletLink('p-pql','/wiki/Special:Editcount/','Edit Count');	addPortletLink('p-pql','/wiki/User_talk:EnemyPeacemaker','Messages'); addPortletLink('p-pql','/wiki/Special:Disambiguations','Disambigs'); addPortletLink('p-pql','/wiki/Special:SpecialPages','Special Pages'); addPortletLink('p-pql','/wiki/Special:ListRedirects','Redirects'); addPortletLink('p-pql','/wiki/Special:Categories','Categories'); } );