Jump to content

User:Evad37/rename editors.js

From Wikipedia, the free encyclopedia
This is an old revision of this page, as edited by Evad37 (talk | contribs) at 16:06, 2 August 2013 (Created page with '$( document ).ready( function() { // Change "[Edit source][Edit beta]" to "[Edit][VE]" --top tabs $( 'a', '#ca-ve-edit' ).text( 'VE' ); $( 'a', '#ca-edit' )....'). The present address (URL) is a permanent link to this revision, which may differ significantly from the current revision.
(diff) ← Previous revision | Latest revision (diff) | Newer revision → (diff)
Note: After saving, you have to bypass your browser's cache to see the changes. Google Chrome, Firefox, Microsoft Edge and Safari: Hold down the ⇧ Shift key and click the Reload toolbar button. For details and instructions about other browsers, see Wikipedia:Bypass your cache.
$( document ).ready( function() {
// Change "[Edit source][Edit beta]" to "[Edit][VE]" --top tabs
  $( 'a', '#ca-ve-edit' ).text( 'VE' );
  $( 'a', '#ca-edit' ).text( 'Edit' );
// Change "edit source" to "edit" --section links
  $( 'a', '.mw-editsection.mw-editsection-expanded' ).text( 'edit' );
  $( 'a', '.mw-editsection' ).text( 'edit' );
});
// Hide VisualEditor section links using CSS
 importStylesheet( 'User:Example/noVEsections.css' );