User:George Orwell III/vector.js

From Wikipedia, the free encyclopedia
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.
//<source lang="javascript">
/* Compact Vector tabs w:User:Edokter/CompactTabs.js */
$( document ).ready( function() {
	$( 'a', '#ca-special' ).text( 'Special' );
	$( 'a', '#ca-nstab-user' ).text( 'User' );
	$( 'a', '#ca-talk' ).text( 'Talk' );
	$( 'a', '#ca-addsection' ).text( 'Add' );
	$( 'a', '#ca-viewsource' ).text( 'Source' );
	$( 'a', '#ca-history' ).text( 'History' );
	$( 'a', '#ca-unprotect' ).text( 'Unprotect' );
	$( 'a', '#ca-edit' ).text( 'Edit' );
	$( 'a', '#ca-ve-edit' ).text( 'VE Edit' );
	$( 'a', '#ca-view-foreign' ).text( 'Commons' );
	$( 'a', '#pt-userpage' ).text( 'GOIII' );
	$( 'a', '#pt-mytalk' ).text( 'Talk' );
	$( 'a', '#pt-mysandbox' ).text( 'Sandbox' );
	$( 'a', '#pt-preferences' ).text( 'Prefs' );
	$( 'a', '#pt-betafeatures' ).text( 'Beta' );
	$( 'a', '#pt-watchlist' ).text( 'Watched' );
	$( 'a', '#pt-mycontris' ).text( 'Contribs' );
	$( 'a', '#pt-logout' ).text( 'Log out' );
} );
//</source>