MediaWiki:Gadget-modernskin-thunks.js

Iz Wikipedije, proste enciklopedije

Opomba: Da bodo spremembe prišle do veljave, po objavi izpraznite predpomnilnik svojega brskalnika.

  • Firefox/Safari: Držite Shift in kliknite Znova naloži (Reload) ali pritisnite Ctrl + Shift + R ali Ctrl + R (⌘ + R v sistemu Mac)
  • Internet Explorer/Edge: Držite Ctrl + F5 in kliknite Osveži (Refresh) ali pritisnite Ctrl + F5
  • Google Chrome: Pritisnite Ctrl + Shift + R (⌘ + Shift + R v sistemu Mac)
  • Opera: Pritisnite Ctrl + F5.
document._realGEBI = document.getElementById;
document.getElementById = function(id){
    var x = this._realGEBI(id);
    if(x) return x;
    else {
    // try to find a reasonable equivalent for monobook-specific element ids
        switch(id) {
            case "content": return this._realGEBI("mw_content");
            case "column-content": return this._realGEBI("mw_contentwrapper");
            case "bodyContent": return this._realGEBI("mw_contentholder");
            case "column-one": return this._realGEBI("mw_portlets");
            case "globalWrapper": return this._realGEBI("mw_main");
            default: return null;
        }
    }
}