function UserNameReplace(){if(typeof(disableUsernameReplace)!='undefined'&&disableUsernameReplace||wgUserName==null)return;$("span.insertusername").html(wgUserName);}addOnloadHook(UserNameReplace);AjaxRCRefreshText='Auto-refresh';AjaxRCRefreshHoverText='Automatically refresh the page';ajaxPages=["Special:RecentChanges","Special:WikiActivity"];importScriptPage('AjaxRC/code.js','dev');if(!window.DisplayClockJS||typeof(window.DisplayClockJS.kill)!=='function')(function($,mw,window,Date){"use strict";var config={format:'%2H:%2M:%2S %d %b %Y (UTC)',location:'header',interval:500,monofonts:"Consolas, 'Lucida Console', monospace",hoverText:"Click here to make the server purge and regenerate (update) this page"};if($.isPlainObject(window.DisplayClockJS)){$.extend(config,window.DisplayClockJS);}else if(window.DisplayClockJS){config.format=window.DisplayClockJS;}window.DisplayClockJS=config;var $link;var printDateFormatted=makePrintDateFormatted(mw.config.get('wgMonthNames').slice(1),mw.config.
get('wgMonthNamesShort').slice(1));var clockInterval=null;function killClock(){if(clockInterval!==null){window.clearInterval(clockInterval);clockInterval=null;$('#DisplayClockJS').remove();}delete config.kill;}config.kill=$.noop;var startUp=function($){if($('#DisplayClockJS, #displayTimer, #showdate').length)return;var $parent,css,mode='append';if(({oasis:1,wikia:1})[mw.config.get('skin')]===1){css={position:'absolute',fontFamily:config.monofonts,lineHeight:'normal'};$parent=$('#WikiHeader div.buttons');if($parent.length){css.top='-1.33em';css.right=0;}else{$parent=$('#EditPageHeader');if($parent.length)(function($,$parent,css){var $sibling=$parent.find('#HelpLink'),$container=$sibling.offsetParent(),offset=$sibling.position();if(!offset)offset={left:$container.innerWidth()};offset=$container.innerWidth()-offset.left+10;$sibling=$sibling.find('a').add($parent.find('#NotificationsLink > a'));$link.removeAttr('href').removeAttr('title');css.right=offset+'px';css.top='5px';css.fontSize=
'11px';css.color=$sibling.css('color');})($,$parent,css);}}else{$parent=$('#p-personal > .pBody > ul');css={textTransform:'none',fontFamily:config.monofonts};mode='prepend';}if(!$parent.length){if(window.console)window.console.error('DISPLAYCLOCK: Failed to attach to page!');return;}$link.css(css);var $node=($parent.is('ul')?$(document.createElement('li')).append($link):$link);$parent[mode]($node.prop('id','DisplayClockJS'));updateTime();var interval=config.interval>500?config.interval:500;clockInterval=window.setInterval(updateTime,interval);config.kill=killClock;};mw.loader.using('mediawiki.util',function(){$link=$(document.createElement('a')).prop({href:mw.util.wikiScript()+'?title='+mw.util.wikiUrlencode(mw.config.get('wgPageName'))+'&action=purge',title:config.hoverText+''}).data('DisplayClockJS',config);$(startUp);startUp=null;});function updateTime(){if(!$link.data('DisplayClockJS'))return killClock();var d=new Date();d.setMinutes(d.getMinutes()+d.getTimezoneOffset());$link.text
(printDateFormatted(d,config.format+''));}function makePrintDateFormatted(monthsLong,monthsShort,daysLong,daysShort){var Cases={'%':function(){return'%';},d:function(d){var r=d.getDate();return{v:r,i:r-1};},G:function(d){var r=d.getFullYear(),day=d.getDate(),month=d.getMonth();if(month===0&&day<4){day=d.getDay();if(day===0||day>4)--r;}else if(month===11&&day>28){month=d.getDay();if(month!==0&&month<day-27)++r;}return r;},g:function(d){return Cases.G(d)%100;},H:function(d){return d.getHours();},I:function(d){var r=d.getHours()%12;return{i:r,v:r||12};},j:function(d,ys){var r=(d-ys)/864e5|0;return{i:r,v:r+1};},m:function(d){var r=d.getMonth();return{i:r,v:r+1};},M:function(d){return d.getMinutes();},p:function(d){return d.getHours()<12?'AM':'PM';},S:function(d){return d.getSeconds();},u:function(d){var r=(d.getDay()+6)%7;return{i:r,v:r+1};},U:function(d,ys){var doy=Cases.j(d,ys).i;doy+=ys.getDay()||7;return doy/7|0;},V:function calculateISOWeek(d,ys){var r={v:Cases.W(d,ys)},thurs=ys.
getDay();if(thurs>1&&thurs<5){++r.v;}else if(r.v===0){r=d.getFullYear()-1;return calculateISOWeek(new Date(r,11,31),new Date(r,0,1));}r.i=r.v-1;return r;},w:function(d){var r=d.getDay();return{i:r,v:r+1};},W:function(d,ys){var doy=Cases.j(d,ys).i;doy+=(ys.getDay()+6)%7||7;return doy/7|0;},X:function(d){return d.toLocaleTimeString();},x:function(d){return d.toLocaleDateString();},y:function(d){return d.getFullYear()%100;},Y:function(d){return d.getFullYear();}};if(daysLong){Cases.A=function(d){return daysLong[d.getDay()];};}if(daysShort){Cases.a=function(d){return daysShort[d.getDay()];};}if(monthsLong){Cases.B=function(d){return monthsLong[d.getMonth()];};}if(monthsShort){Cases.b=function(d){return monthsShort[d.getMonth()];};}function padString(s,l,c){c=c||(typeof(s)==='number'?'0':' ');l=l-(s+='').length|0;if(l<=0)return s;do{if((l&1)===1)s=c+s;c+=c;}while((l>>>=1)!==0);return s;}function printDateFormatted(date,format){var regex=/%([0-9]*)(?:\{([^\}]*)\})?([A-Za-z%])/g,result='',
yearstart=new Date(date.getFullYear(),0,1),li=0,m,list,pass,passFn,cases=Cases,pad=padString,toInt=window.parseInt;while((m=regex.exec(format))!==null){result+=format.substring(li,m.index);li=regex.lastIndex;passFn=cases[m[3]];if(typeof(passFn)!=='function'){result+='¿'+m[3]+'?';continue;}pass=passFn(date,yearstart);if(m[2]){if(typeof(pass)==='object'){pass=pass.i===void 0?pass.v:pass.i;}if(typeof(pass)==='number'){list=m[2].split(';');if(!(pass>-1&&pass<list.length))pass=list.length-1;pass=list[pass];}}else if(typeof(pass)==='object'){pass=pass.v;}result+=pad(pass,toInt(m[1],10));}result+=format.substr(li);return result;}return printDateFormatted;}})(jQuery,mediaWiki,window,Date);importArticles({type:"script",articles:["w:c:dev:LockOldBlogs/code.js"]});importArticles({type:"script",articles:["w:c:dev:LockForums/code.js"]});;mw.loader.state({"site":"ready"});

/* cache key: allanimefanon:resourceloader:filter:minify-js:7:694f6c387b817a0591c0696138d39e19 */