User:Jack Phoenix/monobook.js

From translatewiki.net
Jump to: navigation, search

Note: After saving, 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: Hold Ctrl while clicking Refresh, or press Ctrl-F5
  • Opera: Go to Menu → Settings (Opera → Preferences on a Mac) and then to Privacy & security → Clear browsing data → Cached images and files.
ef^="//translatewiki.net/w/i.php?title=Special:Translate"]' ).each( function() { $( this ).attr( 'href', function( i, h ) { return h + ( h.indexOf( '?' ) != -1 ? '&tux=0' : '?tux=0' ); } ); } ); } );
ss="nx">$( this ).text( foo ); } ); /** * Force Special:Translate to render in classical mode, always, no matter what */ if ( mw.util.getParamValue( 'tux' ) === null ) { if ( window.location.indexOf( '?' ) != 1 ) { window.location = window.location + '&tux=0'; window.location.reload( true ); } else { window.location = window.location + '?tux=0'; window.location.reload( true ); } } // if no tux param in URL } // if Special:Translate /** * Ensure that all links to Special:Translate contain the tux=0 parameter */ $( 'a[href^="/wiki/Special:Translate"], a[hr
Retrieved from "https://translatewiki.net/w/i.php?title=User:Jack_Phoenix/monobook.js&oldid=5612008"