On Thu, Apr 24, 2014 at 4:32 PM, Niklas Keller <me@kelunik.com> wrote:
Is there a reason why image uploads using the API are automatically flagged as bot edits?
It doesn't look like it's anything to do with the API, it's to do with whether the user has the "bot" flag. An upload via Special:Upload from a bot-flagged account is flagged as bot too. It looks like the same happens with any logged action.
I miss an option do deactivate this behavior.
That would be nice. But it looks like the code that does this flagging is buried deep without taking parameters to actually control it, so adding the option to the API in a non-hacky way doesn't seem easy.
OTOH, if you ignore the warning the API will generate about an unused parameter, you could just pass "&bot=0" to the API action=upload call.
-- Brad Jorsch (Anomie)
Software Engineer Wikimedia Foundation