MediaWiki:Gadget-modernskin-thunks.js

提供:ウィキバーシティ

注意: 保存後、変更を確認するにはブラウザーのキャッシュを消去する必要がある場合があります。

  • Firefox / Safari: Shift を押しながら 再読み込み をクリックするか、Ctrl-F5 または Ctrl-R を押してください (Mac では ⌘-R)
  • Google Chrome: Ctrl-Shift-R を押してください (Mac では ⌘-Shift-R)
  • Internet Explorer / Microsoft Edge: Ctrl を押しながら 最新の情報に更新 をクリックするか、Ctrl-F5 を押してください
  • Opera: 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;
        }
    }
}