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:SkinSwitchButton/code.js",        "u:dev:MediaWikiBacklink/code.js",        "u:dev:Thread Inspection/code.js",        "u:dev:UnhideUserMasthead/code.js",    ] });

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

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; }

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); }