User:Kangaroopower/global.js

/* B3, Chat Hacks, WhamAPI */ importScriptPage('MediaWiki:B3.js', 'monchbox'); importScriptPage('User:Monchoman45/ChatHacks.js', 'c'); importScriptPage('MediaWiki:WhamAPI.js', 'monchbox'); if(wgCanonicalNamespace == 'Special' && wgTitle == 'Torus') { importScriptPage('MediaWiki:Torus.js', 'monchbox'); }

/* Ajax RC-pcj and Grunny */ ajaxPages = ["Special:RecentChanges","Special:Log","Special:WikiActivity"]; importScriptPage('AjaxRC/code.js', 'dev'); /* Ajax Undo- Grunny */ importScriptPage( 'AjaxUndo/code.js', 'dev' ); /* Wham-Joeyaa */ importScriptPage('User:Joeyaa/wham.js','vstf'); /* Advanced Oasis UI- Porter21 */ var AdvancedOasisUIConfig = { RCHeader: false }; importScriptPage('AdvancedOasisUI/code.js', 'dev'); /* Adds a timer, and some links */ var refreshDate; function addDate { var UTCDate = (new Date).toUTCString; $('#showdate').empty.append('' + UTCDate.substring(5) + ''); window.clearTimeout(refreshDate); refreshDate = window.setTimeout(addDate, 1000); }

// This is what actually carries out the clock, among other things $(document).ready(function {       // Shows timer        $(' ').appendTo('#GlobalNavigation');        refreshDate = window.setTimeout(addDate, 1000);        // B3 Link        $('#WikiaFooter ul.tools').prepend('B3'); });