Board Thread:Support Requests - Getting Technical/@comment-25295528-20161017152024/@comment-1757994-20161017210848

Wikia would reject importing scripts from non-MediaWiki namespaces. I know such imports happen with legacy code that still hasn't been scrubbed, even a year after their "lockdown," but they should absolutely not be making it worse.

You can, however, import the text as text using the MediaWiki API. As long as your JavaScript sanitizes it, you should be able to use it directly as text.

Sanitize means to prevent injection attacks by either
 * 1) escaping the set of characters   by replacing them with entities   or
 * 2) preferably never using , which invokes the DOM compiler which is unnecessary for simple text; instead use a text node or the jQuery   method.