Using the MediaWiki API: Difference between revisions

From XPUB & Lens-Based wiki
(Created page with " Example link to get the HTML output of a page on THIS wiki in JSON format: https://pzwiki.wdka.nl/mw-mediadesign/api.php?action=parse&page=Entreprecariat_reader_synopses_and...")
 
No edit summary
Line 1: Line 1:
== 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:
Example link to get the HTML output of a page on THIS wiki in JSON format:


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

Revision as of 11:13, 17 October 2018

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:

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