Board Thread:Support Requests - Getting Technical/@comment-3537355-20140424123254/@comment-4018164-20140424155128

The JS code goes in MediaWiki:Common.js.

If you want to use Template:ButtonHover instead, it only uses CSS (via MediaWiki:Wikia.css), which is the following: