On Tue, Apr 5, 2016 at 4:58 PM, Bartosz DziewoƄski <matma.rex@gmail.com> wrote:
You can do this with the action=parse API. https://www.mediawiki.org/wiki/API:Parsing_wikitext#parse

Note this doesn't give the *full* HTML as you'd get by fetching the article from the web UI, as it omits the wrapping HTML from the skin and other chrome. I don't think there's any way to fetch the full page HTML including skin and other chrome from the API.

Brad Jorsch (Anomie)
Senior Software Engineer
Wikimedia Foundation