Board Thread:Support Requests - Getting Technical/@comment-11133912-20140215220116

Hi... Again. :P

For a while now, the Frozen Wiki has been having trouble with a code. I'll post the code at the bottom. We tried putting it on the MediaWiki.Wiki.js and then MediaWiki.Common.js pages. Bella, another admin tried the code on the Frozen Fandom wiki, and it works there. Does anyone know how to make it work?

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