User:LiaSakura/global.js

importArticles({	type: "script",	articles: [		"w:dev:PurgeButton/code.js", /* Add "purge" option to page controls */		"w:dev:AjaxRC/code.js", /* Auto-refresh */		"w:c:avatar.answers:MediaWiki:Common.js/randompagelink.js", /* Special:Random > Special:Random/main in navigation */		"w:c:avatar.answers:MediaWiki:Common.js/wallgreetingbutton.js", /* Add a button to edit Message Wall Greeting */		"w:c:avatar.answers:MediaWiki:Gadget-HotCat.js", /* Manage categories easier */	] });

// // ============================================================ // displayTimer // ============================================================ 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')         $(' ').appendTo('#GlobalNavigation');    else        $('#p-personal ul').prepend(' ');    addDate;    refreshDate = window.setTimeout(addDate, 1000);    $('#displayTimer').css({'font-size': "12px"}); }); //