MediaWiki:Spoiler Warning

/* Spoiler alert */ window.SpoilerAlert = { isSpoiler: function { return -1 != $.inArray('Spoiler', wgCategories); }}; importScriptPage('SpoilerAlert/code.js', 'dev');

/* Opens chat in a new window for homepage */ $(".openchat a").click(function {  window.open('/wiki/Special:Chat', 'wikiachat', 'width=600,height=600,menubar=no,status=no,location=no,toolbar=no,scrollbars=no,resizable=yes'); return false; });