The patch that introduces support for preferences revealed that under certain circumstances, rendering issue can occur: nodes start to duplicate, appear in the wrong positions, and lose event handlers.
Steps to reproduce:
- Check out https://gerrit.wikimedia.org/r/c/mediawiki/extensions/WikibaseMediaInfo/+/726883
- "if you have 2 separate references for a statement (not a single reference with 2 lines) and no qualifiers, then the "Add qualifier" button doesn't work"