User:Jack Phoenix/monobook.js

// ***************************************************************** // Load various external scripts // ***************************************************************** importScriptURI('http://community.wikia.com/index.php?title=User:Splarka/fastdelete.js&action=raw&ctype=text/javascript&dontcountme=s'); importScriptURI('http://en.wikipedia.org/w/index.php?title=User:Zocky/SearchBox.js&action=raw&ctype=text/javascript&dontcountme=s');

// ***************************************************************** // Custom automatic delete buttons // ***************************************************************** // Adds customizable one-click deletion buttons to any deletable page. // Requires User:Splarka/fastdelete.js var fdButtons = []; fdButtons[fdButtons.length] = { 'summary': 'nobody cares', 'label': 'UN:N' };

// ***************************************************************** // &bot=1 on contribs pages. // @author Splarka // ***************************************************************** function hiderollback { var botlink = document.location.href; if( botlink.indexOf( '?' ) == -1 ) { botlink += '?bot=1'; } else { botlink += '&bot=1'; }	addPortletLink( 'p-cactions', botlink, '&bot=1', 'ca-bot' ); } if( ( skin == 'monobook' ) && ( wgCanonicalSpecialPageName == 'Contributions' ) ) { addOnloadHook( hiderollback ); }