User:Adrian M. H./monobook.js
Jump to navigation
Jump to search
Note: After saving, you have to bypass your browser's cache to see the changes. Internet Explorer: press Ctrl-F5, Mozilla: hold down Shift while clicking Reload (or press Ctrl-Shift-R), Opera/Konqueror: press F5, Safari: hold down Shift + Alt while clicking Reload, Chrome: hold down Shift while clicking Reload.
The accompanying .css page for this skin is at User:Adrian M. H./monobook.css. |
- Report page listing warnings and errors.
/* <pre><nowiki>*/
$(function(){
var fix=function(id, text){
var el=document.getElementById(id);
if(!el) return;
for(el=el.firstChild; el && el.nodeName!='A'; el=el.nextSibling);
if(!el) return;
while(el.firstChild) el.removeChild(el.firstChild);
el.appendChild(document.createTextNode(text));
}
fix('ca-edit', 'edit');
fix('ca-addsection', '+');
fix('pt-userpage', 'home');
fix('pt-watchlist', 'watchlist');
fix('pt-mycontris', 'contributions');
fix('pt-preferences', 'preferences');
});
/*</nowiki></pre>*/