Using the MediaWiki API

From XPUB & Lens-Based wiki
Revision as of 21:09, 15 December 2018 by Tancre (talk | contribs)

Getting the HTML of a wiki page

The documentation for the "PARSE" action of the API is here: https://www.mediawiki.org/wiki/API:Parsing_wikitext#GET_Request

Example link to get the HTML output of a page on THIS wiki in JSON format:

http://pzwiki.wdka.nl/mw-mediadesign/api.php?action=parse&page=Entreprecariat_reader_synopses_and_abstracts&format=json