User:Spydar007/global.js

/* Import Articles Call */ importScriptPage('User:Spydar007/import.js', 'c'); importScriptPage('User:Spydar007/highlight.css/util.js', 'c'); importScriptPage('User:Spydar007/highlight.css/stars.js', 'c'); importScriptPage('User:Spydar007/highlight.css/helper.js', 'c'); importScriptPage('User:Spydar007/highlight.css/council.js', 'c'); importScriptPage('User:Spydar007/highlight.css/voldev.js', 'c'); /* END Import Articles Call */

/* AdvancedOasisUI */ // 1. Configuration window.AdvancedOasisUI = { accountNavFollowedPages: true, accountNavWatchlist: true, categoryRedlink: true, RCHeader: true, lightbox: true, activity2RC: true, }; // 2. Import Statement importScriptPage('AdvancedOasisUI/code.js', 'dev'); /* END Advanced Oasis UI */

/* AjaxRC */ // 1. Refreshes every 5 seconds var ajaxRefresh = 5000; // 2. Adds AJAX to these pages var ajaxPages = ["Special:RecentChanges","Special:Watchlist","Special:Log","Special:Contributions"]; // 3. AJAX Text var AjaxRCRefreshText = 'Auto Refresh'; var AjaxRCRefreshHoverText = 'Automatically refreshes the page every 30 seconds'; // 4. Import Statement importScriptPage('AjaxRC/code.js', 'dev'); /* END AjaxRC */

/* Wikimarks */ importArticles({   type: 'script',    articles: [        'u:wikimarks:Client.js'    ] }); /* END Wikimarks */

/* Small Windowed Chat */ chatWindowConfigs = { url: mw.config.get("wgServer") + "/wiki/Special:Chat", title: "Wiki Chat - " + mw.config.get("wgSiteName"), config: "menubar=no, location=no, resizable=yes, scrollbars=yes, status=yes, width=600, height=600" } function openRequestedPopup { windowObjectReference = window.open(chatWindowConfigs.url, chatWindowConfigs.title, chatWindowConfigs.config); } $(document).ready(function {	$('nav.WikiNav a[data-canonical="chat"], button[onclick="ChatEntryPoint.onClickChatButton(\'/wiki/Special:Chat\')"]').attr("onclick","openRequestedPopup; return false;");	$('nav.WikiNav a[data-canonical="chat"]').removeAttr("href");	mw.util.addCSS('a[data-canonical="chat"] {cursor: hand; cursor: pointer;}'); }); /* END Small Windowed Chat */