https://bugzilla.wikimedia.org/show_bug.cgi?id=62126
John Mark Vandenberg jayvdb@gmail.com changed:
What |Removed |Added ---------------------------------------------------------------------------- CC| |jayvdb@gmail.com
--- Comment #3 from John Mark Vandenberg jayvdb@gmail.com --- I think this bug should only force a retry if the reason the save failed is 'edit-already-exists'
i.e. pseudocode in api.py
-if code == "failed-save" and action == 'wbeditentity': +if code == "failed-save" and action == 'wbeditentity' and info == 'Could not create a new page.\nIt already exists.':
or
-if code == "failed-save" and action == 'wbeditentity': +if code == "failed-save" and action == 'wbeditentity': + messages = result["error"].pop("messages", None) + if messages and messages['0'] and messages['0']['name'] == 'edit-already-exists':