MediaWiki:ShowDatacenter

 var raw = document.cookie; var matches = raw.match(/(^|\|)varnish-stat=(.*?)(|$)/); var dc = "LON"; if(matches){ if(matches[2]){ var cook = matches[2]; var pieces = cook.split('/'); dc = pieces[2]; } } if(dc == 'SJC'){ document.write("You are accessing Wikia's San Jose, California datacenter."); } else if(dc == 'IOWA'){ document.write("You are accessing Wikia's Iowa datacenter."); } else if(dc == 'FRA'){ document.write("You are accessing Wikia's Frankfurt, Germany datacenter."); } else if(dc == 'LON'){ document.write("You are accessing Wikia's London, England datacenter."); } else { document.write("You are accessing a new Wikia datacenter."); }