User:Eizen/global.js

window.wgWikiaChatWindowFeatures = ""; window.ajaxPages = ["Special:WikiActivity", "Special:RecentChanges"]; window.pageCreatorTimestamp = true; window.lastEdited = { avatar: false, size: false, comment: false, namespaces: { include: [0, 4, 8, 10, 14], exclude: [1, 2, 3, 5, 6, 7, 9, 11, 12, 15, 110, 111, 828, 829, 1202] } }; importArticles({   type: "script",    articles: [        "u:dev:AjaxRC/code.js",        "u:dev:GlobalChatJS.js",        "u:dev:TallyLink/code.js",        "u:dev:DisableCode/code.js",        "u:dev:PortableCSSPad/code.js",        "u:dev:CodeQuickLinks/code.js",        "u:dev:NullEditButton/code.js",        "u:dev:UserActivityTab/code.js",        "u:dev:SkinSwitchButton/code.js",        "u:dev:MediaWikiBacklink/code.js",        "u:dev:Thread Inspection/code.js",        "u:dev:UnhideUserMasthead/code.js",    ] });

var ToolbarLink = { conf: mw.config.get([       "wgArticlePath",        "skin"    ]), createToolbarLink: function ($linkAddress, $linkText) { return mw.html.element("li", {           "class": "overflow",        }, new mw.html.Raw( mw.html.element("a", {               title: $linkText,                href: this.conf.wgArticlePath.replace("$1", $linkAddress)            }, $linkText) ));   },    construct: function ($linkAddress, $linkText) { var $element = this.createToolbarLink($linkAddress, $linkText);

switch (this.conf.skin) { case "oasis": case "wikia": jQuery($element).prependTo(".toolbar .tools"); break; case "monobook": case "wowwiki": case "uncyclopedia": jQuery($element).appendTo("#p-tb ul"); break; }   } };

switch (mw.config.get("wgCityId")) { case "644": importArticles({       type: "script",        articles: [            "u:dev:LastEdited/code.js",            "u:dev:PageCreator/code2.js",        ]    }); break; case "177": importArticles({       type: "script",        articles: [            //"u:dev:UserAccountAge/code.js",            "u:dev:EditBio/code.js",        ]    }); break; case "1619339": importArticles({       type: "script",        articles: [            "u:dev:UTCClock/code.js"        ]    }); break; }

if (jQuery(".UserProfileMasthead .masthead-info h1").text === mw.config.get("wgUserName")) { var $interval = setInterval(function {        if (jQuery(".UserProfileMasthead .wikis").exists) {            clearInterval($interval);            jQuery(".UserProfileMasthead .wikis").css("display", "none");        }    }, 100); }