MediaWiki:Wikia.js

$(document).ready(function {   var newSection = ' ' +      'Wiki News' + ' ' + ' ';    $('#WikiaRail').append(newSection);    $.getJSON('/api.php?action=parse&text=&format=json', function(data) { var code = data.parse.text['*']; $('section#activities').append(code); }); });