Board Thread:Code Review/@comment-168424-20151003020735/@comment-24473195-20151004132128

I did read through it completely, but the part that sparked my concern was here:

I see that you rewrote it to reduce the clutter. But the author didn't check any of the variables being passed nor did they sanitize the "data" before simply dumping it to the page.

The external dependency is here (http://wowwiki.wikia.com/wiki/MediaWiki:Common.js): // check to see if it is active then do it function ttMouseOver(foo) { if (tooltipsOn && getCookie("wiki-tiploader") != "no") { $("#WikiaArticle").mouseover(hideTip); $("#WikiaArticle").append(' '); $tfb = $("#tfb"); $ttfb = $("#templatetfb"); $htt = $("#tfb,#templatetfb"); if (foo == 1) { $("#WikiaArticle span.ajaxttlink").each(ttBind); }   $("#WikiaArticle span.tttemplatelink").mouseover(showTemplateTip).mouseout(hideTemplateTip).mousemove(moveTip); } }

It seems to show tooltips on mouseover, and also for some strange reason gets the cookie maybe so someone can opt-out of tooltips?