To get a list of bots you may use:

    query=wikipedia.query.GetData({'action':'query', 'list':'allusers', 'augroup':'sysop', 'aulimit':'500'},useAPI=True)

This way you get local flagged ones, so you'll need to make the same thing to global bots. On svn you have also, which downloads a list of flagged bots.

Considering that in almost projects bot must use the word "Bot" on summary, you can also work around this, or use the summary factory of to exclude the py interwiki bots.


2012/5/8 Bináris <>
2012/5/8 Merlijn van Deen <>
This is not completely true - the bot flag is also a property of the
user account. You can query e.g.

Yes, that's true. And if you want to be quite accurate, you must also determine the date of acquiring the bot flag from bureau logs and compare it to the page history. :-)


Pywikipedia-l mailing list