User:JPMcGrath/vector.js

function renameTab( elementID, name ) { var tab = document.getElementById( elementID ); if ( !tab ) { return; } var link = tab.getElementsByTagName( 'a' )[0] if ( !link ) { return; } if ( skin == "vector" ) { link = link.getElementsByTagName( 'span' )[0]; if ( !link ) { return; } }

link.firstChild.nodeValue = name; }

addOnloadHook( function {   renameTab( 'ca-talk', 'Talk' );    renameTab( 'ca-addsection', 'New' );    renameTab( 'ca-history', 'History' ); });