Board Thread:Support Requests - Getting Technical/@comment-3147293-20170215085202/@comment-11733175-20170220220025

As others have mentioned, there is no way to import scripts from wikis other than dev or the current one via ImportJS. Your options are to use MediaWiki:Common/Wikia.js, copy the script over to Dev, copy the script over to your wiki or make a script on your wiki that simply imports the script in question and then import that via ImportJS.

If you do decide to put it on Dev Wiki, I'd recommend documenting it and any configuration options it has. I agree that the current ReferencePopups script there has issues, and have rolled a vastly simpler version on my home wiki. You may find others using it and even helping you improve it as well.