https://bugzilla.wikimedia.org/show_bug.cgi?id=59678

Amir Ladsgroup <[email protected]> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |[email protected]

--- Comment #5 from Amir Ladsgroup <[email protected]> ---
> data/api.py:
>  good: we can also handle other types of token problems
>  bad: edit tokens also serve to detect edit conflicts, and we cannot handle
> those at the data/api.py level...

Maybe I'm wrong but edit conflict hasn't been detected by tokens, it has been
detected by basetimestamp in mediawiki [1] and if edit conflict happens it
raises editconflict error not badtoken error. See the error table.
[1]: https://www.mediawiki.org/wiki/API:Edit

If we want to avoid undetected edit conflicts the only thing we need to do is
adding basetimestamp to action=edit api calls.

-- 
You are receiving this mail because:
You are on the CC list for the bug.
_______________________________________________
Wikibugs-l mailing list
[email protected]
https://lists.wikimedia.org/mailman/listinfo/wikibugs-l

Reply via email to