Board Thread:Support Requests - Getting Technical/@comment-4738639-20150208124133

Hello,

Can anyone help with sound file buttons? They work on other wikis, but for some reason keep redirecting off page on our wiki.

I'm not sure why, the code appeared to be exactly the same unless more code is somewhere other than MediaWiki:Sm2.js, MediaWiki:Common.js Import Script, and Template:Sm2

I first saw the code on the League of Legends Wiki over here multiple times on the same page, and someone from there is unsure why it isn't working for us either.

This is the page I am trying to get it to work on: Template:DragonSoundsCharts.

If clicked out it just redirects to a vigenette page and plays it there instead of staying on the page like on the League of Legends Wiki.

The League of Legends Wiki code is in all the same places as the links above (Sm2.js, Sm2 template, and Common.js), but with "leagueoflegends" at the beginning of the URL address instead.

Thank you for helping.

I thought when I had brought the code over in September 2014 it was working fine, but we didn't have the proper sound files to do anything with it until now, and it would very appreciated if we could locate the source of the issue. 