Steps to replicate the issue (include links if applicable):
- Type some content into a page with Edit Recovery enabled
- Stop editing without saving (so that the changes are stored in Edit Recovery)
- Start editing that page again, entering some content, and ignore the Edit Recovery popup
- Now click "discard changes"
What happens?:
- The popup closes
- The stored Edit Recovery data is removed
- Any newly-unsaved changes you've made to the page are removed from the editor (i.e. it is reset to the currently saved state of wikitext)
What should have happened instead?:
- The popup closes
- The stored Edit Recovery data is removed
- Any newly-unsaved changes you've made to the page are not removed from the editor