https://bugzilla.wikimedia.org/show_bug.cgi?id=62126
John Mark Vandenberg <[email protected]> changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |[email protected] --- Comment #3 from John Mark Vandenberg <[email protected]> --- 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': -- 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
