Board Thread:Shingeki no Kyojin Wiki/@comment-5774380-20150421180319/@comment-24036697-20160406204603

Manuel de la Fuente wrote:

Of course, it's always great to know that our work here can be useful for other wikis too. :)

I just have to let you know some detail regarding this template. It creates references using the standard MediaWiki format; i.e.:

As "name" it automatically sets the same content of the text. This allows to merge duplicate references without complications, as references with the same text will appear merged into a single reference in the footnotes.

However, we also use the script ReferencePopups to generate the popups that appear when you hold the mouse over a reference, and it has a bug that I've been testing here: if the "name" includes a colon, the popup doesn't appear. And since the Ref template uses the same text of the reference as name, the cases when the text and hence the name ends up containing a colon are not rare.

This could be solved by allowing to use a custom name different than the text, but that breaks the purpose of the template of doing it all automatically, so I'd rather modify the script to allow names with colons. I guess it could be solved with a simple replace, though I'm currently working on other projects and I still have to look at it further.

Just a quick note in case you run into the same issue. :P I currently have the ReferencePopups script running on my wiki, and I also discovered the issue with colons. Luckily, most of the stuff I use in my references don't have a colon in the name parameter, but it would be great if you discover a workaround for it.