On Tue, Sep 17, 2013 at 12:45 AM, jeph <jephpaul(a)gmail.com> wrote:
I'm building an edit visualisation tool , demo.
I'm trying to get the total
number of edits to show the user & for a few other things. I haven't been
able to retrieve it from the API, though I can see it in the info page of an
Any pointers to a solution will be really helpful :-)
There isn't any way to get that in the API right now. A very helpful
solution would be to submit a patch to add it ;) You can look at
includes/actions/InfoAction.php for the implementation of action=info,
and includes/api/ApiQueryInfo.php would probably be the right place to
put it in the API.
As a workaround for number of edits, you could simply use
prop=revisions&rvprop=&rvlimit=max and count the number of revisions
you get back.
Brad Jorsch (Anomie)