MediaWiki:Common.js/displayTimer.js

/* Any JavaScript here will be loaded for all users on every page load. */ var refreshDate; function addDate { var UTCDate = ((new Date).toUTCString).replace("GMT", ""); $('#showdate').empty.append(' ' + UTCDate.substring(5) + ' '); window.clearTimeout(refreshDate); refreshDate = window.setTimeout(addDate, 1000); } $(document).ready(function {   if (skin == 'oasis')         $(' ').appendTo('#WikiaHeader');    else        $('#p-personal ul').prepend(' ');    addDate;    refreshDate = window.setTimeout(addDate, 1000);    $('#displayTimer').css({"margin-left:10px; font-size: 12px; font-family:'Century Gothic', 'Gill Sans', 'Franklin Gothic Medium', Verdana, Tahoma,'URW Gothic L', 'Nimbus Sans-L', sans-serif;"}); });