> So to clarify things.
>
> I get the contents of a page along with timestamp and edit token.
> a delay
> someone else edits the page
> I submit an edit request with my timestamp and edit token and my new contents
>
> in this case it will fail ?

Right. And you *want* it to fail, because otherwise you'll be
reverting someone else's changes.

-Ran Ari-Gur
(user "Ruakh" on e.g. en.wikt)


On Thu, Oct 23, 2008 at 5:04 PM, Jools Smyth <[EMAIL PROTECTED]> wrote:
>> Actually, using a different timestamp than the last revision's timestamp
>> will fail: the edit conflict check requires that the timestamp are
>> *exactly the same*, so timestamps of earlier revisions *or* later
>> revisions *will* *not* *work*. You really need to get that one
>> timestamp. (I apologize for overusing the * in this paragraph.)
>
> This is what I initially thought, but was told by someone it was not correct.
>
> So to clarify things.
>
> I get the contents of a page along with timestamp and edit token.
> a delay
> someone else edits the page
> I submit an edit request with my timestamp and edit token and my new contents
>
> in this case it will fail ?
>
> Or should it be like
>
> I get the contents of a page along with timestamp and edit token
> a delay
> someone else edits the page
> get another timestamp of latest revision
> Submit a edit request with my new timestamp and edit token and my new
> contents
>
> Best Regards
>
> Jools
>
>
> _______________________________________________
> Mediawiki-api mailing list
> [email protected]
> https://lists.wikimedia.org/mailman/listinfo/mediawiki-api
>

_______________________________________________
Mediawiki-api mailing list
[email protected]
https://lists.wikimedia.org/mailman/listinfo/mediawiki-api

Reply via email to