Jools Smyth schreef: >> Isn't "the revision your edits are based on" the same revision as "the >> last revision"? You're really just saying the same thing twice, but >> using different wordings. >> > > Well, I guess the point im trying to make, is that whilst you are doing > something with some data, someone else could edit it, and in that case the > timestamp isnt of the last revision but the revision from where you > "grabbed the page". See I thought just before submitting some data, you > had to re-check for the most recent timestamp to edit. Maybe my brain > wasn't working but I think some areas of the documentation could be > easier. No, you don't have to. action=edit just compares your basetimestamp to the timestamp of the most recent revision, and if they're not exactly the same, you'll get an edit conflict most of the time (there are some exceptions to that rule that I can't recall right now, like new section creations; for more, see the comments and code in EditPage::attemptInternalSave()).
Roan Kattouw (Catrope) _______________________________________________ Mediawiki-api mailing list [email protected] https://lists.wikimedia.org/mailman/listinfo/mediawiki-api
