MediaWiki:Common.js

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

importArticles({   type: "script",    articles: [        "MediaWiki:Common.js/Summaries.js",        "MediaWiki:CollapsibleTables.js",        "MediaWiki:Common.js/icons.js",        "MediaWiki:Common.js/Countdown.js",        "MediaWiki:Common.js/histats.js",        "MediaWiki:Common.js/SigCheck.js",        "MediaWiki:Common.js/InactiveUsers.js",        "MediaWiki:Common.js/DuplicateImages.js",        "MediaWiki:Common.js/DISPLAYTITLE.js",        "w:runescape:MediaWiki:Common.js/WLH_edit.js",        "w:dev:PurgeButton/code.js",        'w:dev:AllPagesHideRedirect/code.js',        'w:dev:FixMultipleUpload/code.js',        "w:dev:WallGreetingButton/code.js",        "w:dev:ShowHide/code.js",        "w:dev:ReferencePopups/code.js",        "w:dev:DisplayClock/code.js"

] });

var ajaxPages = ["Special:WikiActivity","Special:RecentChanges","Special:Watchlist","Special:Log","Special:Contributions"]; var AjaxRCRefreshText = 'Auto-refresh'; var AjaxRCRefreshHoverText = 'Automatically refresh this page'; var ajaxRefresh = 30000; importScriptPage('AjaxRC/code.js', 'dev');

SpoilerAlert = { isSpoiler: function { return -1 !== wgCategories.indexOf('Upcoming Content'); } }; importScriptPage('MediaWiki:Common.js/SpoilerPop.js', 'onceuponatime');

// 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!! ') }

$(window).load(function{   $('#WikiaRail').append(' '); });