Jump to content

User:Paranomia/changelinks.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.
function changelinks()
{
    if(wgNamespaceNumber!=-1) {
    document.getElementById('pt-mytalk').firstChild.innerHTML = 'talk';
    document.getElementById('pt-preferences').firstChild.innerHTML = 'prefs';
    document.getElementById('pt-watchlist').firstChild.innerHTML = 'watchlist';
    document.getElementById('pt-mycontris').firstChild.innerHTML = 'contribs';
    document.getElementById('pt-logout').firstChild.innerHTML = 'log out';
    document.getElementById('ca-talk').firstChild.innerHTML = 'talk';
    // if(document.getElementById('ca-addsection')) document.getElementById('ca-addsection').firstChild.innerHTML = '+';
    }
}
addOnloadHook(Mainfast)
function Mainfast()
{
    changelinks();
}