On Thu, Jul 22, 2010 at 04:09:56PM -0500, Python Script wrote:
I'm trying to edit a page, and the api documentation says to "set the flag to on" for items like the bot flag, minor flag, etc. How do I set these to on? I'm using a python interface to the api that has a format like "action":"edit" for post requests. I've tried "bot":"true" , "bot":"on" , "bot":"1" etc and I can't seem to get it to work. Thanks for the help!
"bot":"1" should certainly work, and the rest may as well. Is the account your script is logged in as in the 'bot' group? If not, trying to set the bot flag on the edit will be ignored.
Otherwise, can you capture the text that is being posted to the server?