On 2 October 2017 at 17:30, Roy Smith roy@panix.com wrote:
I’m not seeing how to access the wikitext for a specific revision via the API. I can get the HTML with /page/html/{title}/{revision}, but I don’t see how to get the wikitext. Do I really need to get the HTML and then feed that through /transform/html/to/wikitext? That seems suboptimal. Not to mention rate limited :-(
Those /page/html/{title}/{revision} and /transform/html/to/wikitext paths are part of the separate REST API and not the MediaWiki API. Please see Jaime's example URL instead.