User:Nanaki/global.js

function modify_controls { var controls = document.getElementById('page_controls'); var edit = document.getElementById('control_edit'); var purge = document.createElement('li'); purge.innerHTML = edit.innerHTML.replace('action=edit','action=purge'); purge.getElementsByTagName('img')[0].className = 'sprite refresh' var link = purge.getElementsByTagName('a')[0] link.title = '' link.accesskey = '' link.innerHTML = 'Przeładuj' controls.appendChild(purge);

document.getElementById('ca-history').innerHTML = 'Historia'; document.getElementById('ca-edit').innerHTML = 'Edytuj'; } addOnloadHook(modify_controls);