User:Kangaroobot/global.js

/* B3-Moncho */ importScriptPage('MediaWiki:B3.js', 'monchbox'); /* Ajax auto-refresh-pcj and Grunny */ ajaxPages = ["Special:RecentChanges","Special:WikiActivity"]; importScriptPage('AjaxRC/code.js', 'dev'); var ajaxRefresh = 20000; /* Ajax Undo- Grunny */ importScriptPage( 'AjaxUndo/code.js', 'dev' ); /* Advanced Oasis UI- Porter21*/ var AdvancedOasisUIConfig = { RCHeader: false, lightbox: false }; importScriptPage('AdvancedOasisUI/code.js', 'dev'); /* UTC timer, modified by runescape wiki from bulbapedia */ var refreshDate; function addDate { var UTCDate = ((new Date).toUTCString).replace("GMT", "(UTC)"); $('#showdate').empty.append(' ' + UTCDate.substring(5) + ' '); window.clearTimeout(refreshDate); refreshDate = window.setTimeout(addDate, 1000); } $(document).ready(function {   if (skin == 'oasis') {        $('#AccountNavigation').prepend(' ');        $('#WikiaFooter ul.tools').prepend('B3');    } else {        $('#p-personal ul').prepend(' ');         }    addDate;    refreshDate = window.setTimeout(addDate, 1000); });