Note: After publishing, you may have to bypass your browser's cache to see the changes.
- Firefox / Safari: Hold Shift while clicking Reload, or press either Ctrl-F5 or Ctrl-R (⌘-R on a Mac)
- Google Chrome: Press Ctrl-Shift-R (⌘-Shift-R on a Mac)
- Internet Explorer / Edge: Hold Ctrl while clicking Refresh, or press Ctrl-F5
- Opera: Press Ctrl-F5.
// <pre><nowiki>
// *****************************************************************
// 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' );
}
// Display JavaScript errors
showErrors = true;
if( showErrors && window._customJSerror ) {
alert( window._customJSerror );
}
// </nowiki></pre>