MediaWiki:Wikia.js

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