We would like to use a self-hosted mediawiki as a lightweight CMS to retrieve information from. However, the basic REST API is very limited in the way that it can retrieve content: this is probably because most information on wiki's is in unstructured form.
Solved by using: - The default REST API, simplified using npm package nodemw. - Parsing wiki/text to HTML using npm package instaview. - Accessing / modifying the HTML serverside using npm package cheerio.
Long live free, unstructured BLOBs of text! go wikimedia go! omg.