--- Comment #2 from Merlijn van Deen <> ---
OK, so this is slightly more complicated than it seems.

There are two obvious methods:
 - handle the BadToken error in data/ We can just self.sleep() and then
get a new edit token
 - handle the BadToken error in data/, in editpage()

Both options have their problems.

 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/ level...

 good: the logic for getting tokens & handling edit conflicts is already here!
 bad: the retry logic is in the data/ layer, and it doesn't cover other
token issues

You are receiving this mail because:
You are on the CC list for the bug.
Wikibugs-l mailing list

Reply via email to