Prerequisite:
- Make sure you have enabled Realtime Preview in Beta features.
- Make sure your default editor is wikitext 2010 editor, not visual editor or wikitext 2017 editor.
- Make sure you have toggled Realtime Preview in the edit box (like in the picture below).
Steps to replicate the issue:
- Start a new discussion via the "New section" tab. Fill in the title and body.
- Directly switch to the wikitext editor. Realtime Preview should be already activated, and discussion tool attempts to recover unsaved new section.
- Enjoy an endless loop of "Changes recovered" :)