Get the number of fixes made by bots, registered users and anonymous users for a Wikipedia article.

I am trying to get the number of fixes made by bots, registered users and anonymous users, shared for a specific wikipedia article.

I know that I can get all the corrections for the article using the version approval in the MediaWiki API, I thought to use rvprop = user to return the name of the user who made the revision and do some processing of the received data.

http://ar.wikipedia.org/w/api.php?action=query&prop=revisions&titles=%D8%A7%D8%A8%D9%86%20%D8%A7%D9%84%D9%86%D9 % 81% D9% 8A% D8% B3 & rvlimit = 500 & rvprop = timestamp% 7Cuser | size & format = xml

for anonymous users, anon = "" changes always happen, so I can count this, but for bots I can’t find a way, as far as I know, the names of bots are not always written in a standard way. Any ideas how to do this? or an easier way, perhaps using a different API to accomplish this task?

+4
source share
1 answer

The revisions API allows you to list flagsfor each revision - they include whether editing was flagged as minor or bot editing. For example, see these changes .

, , , , , , . . - bot .

+5

All Articles