I do, in fact, get badtoken errors occasionally, when the network
request gets mangled somewhere.
I also got this in my log:
(mwapi putedit error: u'<?xml version="1.0"?><api><error
code="unknownerror" info="Unknown error: ``231''"
/></api>')
(that is Python repr() format of the returned text)
I've only noted this once; there was no particular difference in the
request being made (sorry, I don't have that; I *think* the request
was to te.wikt); same code path as many thousands of other page
writes.
I'm not really concerned about it, but it might bear looking at?
Robert
On Wed, Jun 2, 2010 at 3:29 PM, Robert Ullmann <rlullmann(a)gmail.com> wrote:
I've protected against it by encoding the token
*after* the text,
title, and edit summary. Presumably no token means it won't edit?
with my best regards,
Robert