User:Jack Phoenix/global.js

// // ***************************************************************** // Load Zocky's SearchBox JS globally // ***************************************************************** importScriptURI('http://en.wikipedia.org/w/index.php?title=User:Zocky/SearchBox.js&action=raw&ctype=text/javascript&dontcountme=s');

// ***************************************************************** // &bot=1 on contribs pages. // ***************************************************************** 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 ); }

// Quick hack if( wgAction == 'edit' && wgDB == 'starwars' ) { appendCSS('.permissions-errors { display: none !important; }'); document.getElementById('wpTextbox1').removeAttribute('readonly'); }

//