User:PerryH/global.js

/*** Debug settings function gOnload {   $.log("called after " + deltaT, "gOnload"); var varnishStat = $.cookie("varnish-stat"); $('ul#AccountNavigation > li:first-child').before(''+ varnishStat.split('/')[2]+ ''); $('a.wikia-button.upphotos').unbind('click',UploadPhotos.showDialog); }

function deltaT { var now = new Date; return (now - mw.config.get('wgNow')) + " ms"; }

$(document).ready( gOnload ); $.log("done after "+ deltaT, "global.js");