MediaWiki:Wikia.js

/*Sidebar*/ $(function {   var newSection = ' ' +      'Blogs' + ' ' + ' ';    $('#WikiaRail').append(newSection);    $.getJSON('/api.php?action=parse&text= bloglist  date  Blog posts  &format=json', function(data) { var code = data.parse.text['*']; $('section#activities').append(code); }); }); /* Apester Polls */ $(function{  var spans = document.getElementsByTagName("span");   for (var index = 0; index < spans.length; index++) {      if (spans[index].getAttribute("data-widget-id") && spans[index].getAttribute("class")) {        outerLoop:        switch (spans[index].className) {            case "Roar":                spans[index].innerHTML = ' ';                break outerLoop;            default:                break outerLoop;        }      }   } });