MediaWiki:Wikia.js

/* Sidebar */ $(document).ready(function {   var newSection = ' ' +      'Latest News!' + ' ' + ' ';    $('#WikiaRail').append(newSection);    $.getJSON('/api.php?action=parse&text=&format=json', function(data) { var code = data.parse.text['*']; $('section#sidebar').append(code); }); }); importArticles({   type: 'script',    articles: [        'u:dev:FloatingToc/code.js'    ] }); /* Wiki Clock */ importArticles({	type: 'script',	articles: [		// ...		'u:dev:DisplayClock/code.js',		// ...	] }); /* Auto Dropdown */ importArticles({   type: 'script',    articles: [        'w:c:dev:AutoEditDropdown/code.js'    ] }); /* BackToTopButton */ importScriptPage('BackToTopButton/code.js', 'dev');