MediaWiki:Common.js

/* Any JavaScript here will be loaded for all users on every page load. */

window.MessageWallUserTags = { tagColor: '#000', glow: false, users: { 'Utter_solitude': 'Admin', 'Prince_of_Hearts': 'Admin', 'Applegirl': 'Admin', 'Killian_Jones': 'Admin', 'Lady_Junky': 'Rollback • Chat Mod', 'FrancisPaul': 'Rollback', 'Bot_of_Solitude': 'Bot', 'Nightlily': 'Rollback • Image Mod', 'Hmcooper4': 'Forum Mod' } };

var ajaxPages = ["Special:WikiActivity","Special:RecentChanges","Special:Watchlist","Special:Log","Special:Contributions"]; var AjaxRCRefreshText = 'Auto-refresh'; var AjaxRCRefreshHoverText = 'Automatically refresh this page'; var ajaxRefresh = 15000; } };

SpoilerAlert = { isSpoiler: function { return -1 !== wgCategories.indexOf('Upcoming Content'); } };

importArticles({   type: "script",    articles: [        "u:dev:MessageWallUserTags/code.js",        "u:dev:AjaxRC/code.js",        "MediaWiki:Common.js/Summaries.js",        "MediaWiki:CollapsibleTables.js",        "MediaWiki:Common.js/icons.js",        "MediaWiki:Common.js/histats.js",        "MediaWiki:Common.js/SigCheck.js",        "MediaWiki:Common.js/InactiveUsers.js",        "MediaWiki:Common.js/DuplicateImages.js",        "MediaWiki:Common.js/SpoilerPop.js",        "u:runescape:MediaWiki:Common.js/WLH_edit.js",        "u:dev:PurgeButton/code.js",        "u:dev:DISPLAYTITLE/code.js",        "u:dev:FileUsageAuto-update/code.js",        "u:dev:AllPagesHideRedirect/code.js",        "u:dev:FixMultipleUpload/code.js",        "u:dev:WallGreetingButton/code.js",        "u:dev:ShowHide/code.js",        "u:dev:BackToTopButton/code.js",        "u:dev:ReferencePopups/code.js",        "u:dev:FloatingToc/code.js", "u:dev:Countdown/code.js", "u:dev:DisplayClock/code.js", "u:dev:DupImageList/code.js", "u:dev:FindAndReplace/code.js", "u:dev:ChatTags/code.js", "u:dev:MessageBlocker/code.js" ] });

// Alert contributors when they are editing with their bot flag set if (mediaWiki.config.get("wgAction") == "edit" && mediaWiki.config.get("wgUserGroups").indexOf("bot") != -1){ $("#EditPageHeader").after('NOTE: You are currently editing with your bot flag set!! ') } //Facebook module $(window).load(function{   $('#WikiaRail').append(' '); });