Thread:Nanaki/@comment-1294345-20160517060800/@comment-1117661-20160517092508

Hey. There are two sets of MediaWiki pages for styles and Javascript
 * MediaWiki:Wikia.css/js only applied to the default skin
 * and MediaWiki:Common.css/js that are applied to all skins

The part for ReferencePopups sits in MediaWiki:Common.js of Survivor Wiki.

And to be precise it's this part of the code: Also remember to submit scripts for review: Special:JSPages ;)