On 01/22/2014 12:35 PM, Petr Bena wrote:
this explanation should be in the documentation ;)

anyway I guess I need to use both of them?

basetimestamp (the timestamp of the revision your edit is based on) should be sufficient. I might be missing something, but I can't think of a scenario where:

1. Get the ID and timestamp of the last revision.
2. Get the text of that revision.
3. Do long-running computation based on that text.
4. POST an edit (resulting from that computation) with basetimestamp set to the timestamp obtained in #1.

will cause a race condition.

Matthew Flaschen


_______________________________________________
Wikitech-l mailing list
[email protected]
https://lists.wikimedia.org/mailman/listinfo/wikitech-l

Reply via email to