Note: You may have to bypass your browser’s cache to see the changes. In addition, after saving a sitewide CSS file such as MediaWiki:Common.css, it will take 5-10 minutes before the changes take effect, even if you clear your cache.
- Mozilla / Firefox / Safari: hold Shift while clicking Reload, or press either Ctrl-F5 or Ctrl-R (Command-R on a Macintosh);
- Konqueror and Chrome: click Reload or press F5;
- Opera: clear the cache in Tools → Preferences;
- Internet Explorer: hold Ctrl while clicking Refresh, or press Ctrl-F5.
- This script lacks a documentation subpage. Please create it.
- Useful links: root page • root page’s subpages • links • redirects • your own
//importScript('User:Hippietrail/wfMsgCentre.js');
document.write('<script type="text/javascript" src="/https/en.m.wiktionary.org/w/index.php?title=User:Hippietrail/wfMsgCentre.js&action=raw&ctype=text/javascript"><\/script>');
var wgNavBarMsgArray;
function localisenavbars() {
if (wgNavBarArray && wgNavBarArray.length > 0 && wgUserLanguage != wgContentLanguage) {
var msgctr = wfMsgCentreFactory.create();
wgNavBarMsgArray = new Object();
wgNavBarMsgArray['Hidetoc'] = { forcontent: true, obj: window, attr: 'NavigationBarHide', xform: hide_cb };
wgNavBarMsgArray['Showtoc'] = { forcontent: true, obj: window, attr: 'NavigationBarShow', xform: show_cb };
msgctr.batch(wgNavBarMsgArray);
}
}
function hide_cb(text) {
for (var b in wgNavBarArray)
if (!wgNavBarArray[b].isHidden)
wgNavBarArray[b].childNodes[1].firstChild.nodeValue = text;
return text;
}
function show_cb(text) {
for (var b in wgNavBarArray)
if (wgNavBarArray[b].isHidden)
wgNavBarArray[b].childNodes[1].firstChild.nodeValue = text;
return text;
}