MediaWiki:Common.js

/* Any JavaScript here will be loaded for all users on every page load. */

/*--- SIDEBAR FUNCTION */ // loads sidebar section for new episodes, specials etc $(document).ready(function {   var newSection = ' ';    $('#WikiaRail').append(newSection);    $.getJSON('/api.php?action=parse&text=&format=json', function(data) { var content = data.parse.text['*']; $('section#sidebar').append(content); }); });