2010/3/5 Jani Patokallio <[email protected]>:
> Right, this was also my understanding of how it worked internally, the
> question is how to work around this?  Eg. the API offers "basetimestamp"
> and "starttimestamp" fields that can be sent along with the edit
> submission, but is there any way to send these or otherwise specify the
> last revision with a direct submit POST to MediaWiki?
>
You /can/ fake the values of wpStarttimestamp and wpBasetimestamp in
the edit form submission, but using the API is recommended. For
clarity:

starttimestamp: Used to detect whether the page was deleted since you
started editing. Should be the time at which you clicked the edit
button
basetimestamp: Used to detect edit conflicts. Should be *exactly
equal* to the timestamp of the most recent revision of the page at the
time you started editing

Roan Kattouw (Catrope)

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

Reply via email to