Board Thread:Support Requests - Getting Technical/@comment-1065014-20130830204557/@comment-2093602-20130831111424

Wouldn't it be easier to do this with CSS? .spoiler, .spoiler a, .spoiler a.new { background: black; color: black; } .spoiler:hover, .spoiler:hover a, .spoiler:hover a.new { background: transparent; color: inherit; }

You can put the above in the MediaWiki:Wikia.css of your wiki. Due to Wikia's caching, it may take several minutes before it'll work, though.

The only problem is all links in the spoiler section will turn into the same color as the text (it can be resolved if needed, though).