[Mediawiki-api] write API "edit conflict"

Betacommand Betacommand at gmail.com
Fri Jul 17 22:30:26 UTC 2009


Could you be passing an improper timestamp in the post request?


On Fri, Jul 17, 2009 at 4:49 PM, Jim Tittsler <jt at onnz.net> wrote:

> On 17/07/09 16:18, Dan Collins wrote:
> > On Thu, Jul 16, 2009 at 11:20 PM, Jim Tittsler<jt at onnz.net>  wrote:
> >> I have a bot (using mwclient 0.6.2) that nightly updates some status
> >> pages on WikiEducator.org.  It has suddenly started failing with an
> >> 'Edit conflict' but I can edit the page by hand and the script continues
> >> to write to another page.  Are there things that would prohibit the API
> >> from writing to a page but still allow editing through the wiki?
> >
> > Yes. Specifically, an edit conflict will cause one attempt to fail and
> > the next to succeed with no problem. For details see
> > http://en.wikipedia.org/wiki/Help:Edit_conflict but essentially
> > someone else changed the page while you were editing it and the wiki
> > wants you to make sure you don't accidentally overwrite their changes.
>
> I think there is something else going on.  Writing to this particular
> page now *always* fails through the API.  It always succeeds when I edit
> through the web.  The history of the page says only the bot and my test
> edits have been performed on the page.  The bot continues to write to
> other pages.  Are there other conditions that get reported as edit
> conflicts?
>
> _______________________________________________
> Mediawiki-api mailing list
> Mediawiki-api at lists.wikimedia.org
> https://lists.wikimedia.org/mailman/listinfo/mediawiki-api
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.wikimedia.org/pipermail/mediawiki-api/attachments/20090717/19c01a3f/attachment-0001.htm 


More information about the Mediawiki-api mailing list