Hi all,
I'm just updating one of my extensions[1] for MW 1.18 and one limitation I am coming across is that it doesn't seem possible for a normal user to mark edits as 'bot', even when those edits are being performed on the user's behalf in a bot-like fashion.
As my extension allows normal users to perform large numbers of edits in bulk, it would be nice if the edits could be marked bot, even when the user performing them is not considered a bot.
Is there a way to do this when using the API to perform edits within an extension? Or would it be better to dispense with the API and call the various functions manually?
I was originally using the FauxRequest class for this, but with 1.18 I had to change it to DerivativeRequest (in order for it to accept the edit token) if that helps.
Many thanks, Adam.
On Tue, Nov 29, 2011 at 4:42 AM, Adam Nielsen a.nielsen@shikadi.net wrote:
Is there a way to do this when using the API to perform edits within an extension? Or would it be better to dispense with the API and call the various functions manually?
Yes, it would probably be better to use Article::doEdit() (in 1.17 and earlier) / WikiPage::doEdit() (in 1.18 and later) directly in your situation.
Roan
mediawiki-api@lists.wikimedia.org