Board Thread:Support Requests - Getting Technical/@comment-189.200.87.152-20160602225207/@comment-1757994-20160603192640

MediaWiki doesn't provide a way. The document itself is in wiki mark-up (wikitext), of course. Use  to get that.

It eventually gets rendered as HTML, so  gets that.

There's no reason for anything internal to MediaWiki to convert page content to JSON, so the MediaWiki API doesn't. Unless Wikia added an extension API that both supports JSONP and converts wikitext to JSON, your only options are wikitext and HTML.

There's an intermediate form between wikitext and HTML, which is an XML document called the parse tree. However, only the latest MediaWiki versions provide it. The MediaWiki version that Wikia uses doesn't provide it.