You can get the raw "full" HTML using the Revisions API

https://www.mediawiki.org/wiki/API:Revisions