User:TooGoodToGoToHell/global.js

importScriptPage('AjaxRC/code.js', 'dev');

//Custom Sidebar 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/' + wgPageName,'Edit Count');	addPortletLink('p-pql','/wiki/User_talk:TooGoodToGoToHell','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'); } );

//Kill auto-summary on deletion $( function { if ( wgAction === 'delete' ) { $( '#wpReason' ).val( '' ); } } );