MediaWiki:Thongbao.js

/** Bản cũ cần lưu tâm: http://sonako.wikia.com/wiki/MediaWiki:Thongbao.js?oldid=99216 **/

if (wgCanonicalSpecialPageName != "WikiActivity") { $(window).load(function {   $("section#activities1").load("http://sonako.wikia.com/wiki/Template:Thongbao?action=raw");    var newSection = ' ';    $('#WikiaRail section:first-of-type').after(newSection);    }); }); } if (wgCanonicalSpecialPageName == "WikiActivity") { $(window).load(function { var newSection = '' + 'Thông báo' + ' ' + ' '; $('#WikiaRail section:first-of-type').after(newSection); $.getJSON('/api.php?action=parse&text=&format=json', function(data) {       var code = data.parse.text['*'];        $('section#activities1').append(code);    }); }); }