Hi, everyone. I'm coding a Wikipedia bot. The MediaWiki API documentation isn't helping me much. I'd like to know:
I want to download the most recent version of a page that was written by an author other than the author of the most recent version. (ie what it looked like before the current author). I want to compare versions, so that if vandalism has occurred in the most recent author's version but not the previous author's version, my bot can rollback.
Presently my body downloads the wikitext of the page using index.php rather than api.php. How do I download the wikitext of the previous version ?
Richard