Hi,
I'm wondering how to go about getting one obscure bit of information.
The "Interwicket" bot maintains iwiki links for namespace 0 in the wiktionaries. On some it has a local bot flag, on some it uses the global bot mechanism. It automatically checks its own user status for a local bot flag (action=query&list=users&ususers=Interwicket&usprop=blockinfo|groups|editcount&format=xml) which is quite simple. But that doesn't show "bot" for global bots.
To find out if if has global bot status, it needs to know which wikts have global bots enabled. (It doesn't need to look up its own group membership, that is just wired in: it knows it is in the global group.) At present it reads the manually maintained table on meta (yes, a horrid hack ;-).
What it needs is to read "wiki set 2", the list of wikis on which global bots are allowed. I haven't figured out how to do that with the GUI, let alone API. Anyone know?
The specific case I just found:
The table in meta http://meta.wikimedia.org/wiki/Bot_policy/Implementation shows the Kannada wikt as having global bots approved, and Interwicket sees that. But looking at RC on kn.wikt http://kn.wiktionary.org/wiki/%E0%B2%B5%E0%B2%BF%E0%B2%B6%E0%B3%87%E0%B2%B7:... one sees that the edits are not flagged as bot edits. This isn't a crisis (and I could certainly patch this case ;-) but I'd like to do it right by either reading the "wiki set" or reading the global status of the user from the API, as it applies to that wiki.
Best regards, Robert