On Sun, Jun 10, 2012 at 06:57:27PM -0700, Eamonn wrote:
> 
> Is there a way to use the API to get similar information as the
> index.php?*&action=history command, but instead of getting HTML to
> get an XML or JSON result that is easier to digest?

You'll want to look into prop=revisions for that.[1]

But there's not really any way to get just the sections that changed;
you can request a diff, or request the full wikitext for the appropriate
revisions and process it yourself.

 [1]: https://www.mediawiki.org/wiki/API:Properties#revisions_.2F_rv

_______________________________________________
Mediawiki-api mailing list
Mediawiki-api@lists.wikimedia.org
https://lists.wikimedia.org/mailman/listinfo/mediawiki-api

Reply via email to