> On 10-05-24 10:38 PM, Matias wrote:
> > I think it can be donned via the API with "prop=revisions" and a
> > combination of parameters specially "rvdiffto".
>
> The API diff returns an HTML table (ie the same thing you see on-wiki,
> there's just no interface or CSS). I think it is just a matter of
> implementing it in pywikibot (yay for the name change!) if it hasn't
> been done already.
>
> - -Mike

I think it returns an XML as default. I want to make the query as smaller as possible. I'm only interested in new additions, as far as I could see, new additions are inside <td class="diff-addedline"> and there in <span class="diffchange">. At least this is true in the non-API query. I manage to get the diff output with the API and those tags are represented in this way: http://pastebin.com/Myv1976Y this is for XMLFM (default output).

API DIFF:
http://es.wikipedia.org/w/api.php?action=query&prop=revisions&rvstartid=37372500&rvdiffto=prev&rvlimit=1&titles=Club_de_esgrima_de_C%F3rdoba

NON-API DIFF:
http://es.wikipedia.org/w/index.php?diff=37372500&oldid=32780367&diffonly=1

I think this is not yet implemented in the framework.

Matias.