"Error parsing XML: (error msg) Abandon changes?"
According to the documentation, the user gets the buttons "OK" and "Cancel" to choose from. This is unclear and incorrect, as choosing "OK" would actually cancel the changes, and choosing "Cancel" would keep the changes and return the user to the editor to fix it manually (which is the opposite of cancelling).
At minimum, the buttons presented should be "Yes" and "No". Much better still would be "Abandon" and "Keep".
I spoke to my tech lead, and he said:
- You're right.
- The reason we have OK/Cancel is we're using the default dialog window.
- This message is not frequently seen.
For now, I will rephrase the English-language message to make it clearer what the user should do. It may take a few days for the change to show up in translatewiki.