MediaWiki:Wikia.js

/* Blog rail module */ $(function {   var newSection = '' +      '' + ' ' + ' ';    $('#WikiaRail').append(newSection);    $.getJSON('/api.php?action=parse&text= bloglist  date  Blog posts  &format=json', function(data) { var code = data.parse.text['*']; $('section#blog-module').append(code); });   $(".rail-module .blog-listing__comment-count").css("float", "right");    $(".rail-module .more").css("float", "right"); });

/* 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;        }      }   } });