Steps to replicate:
- Open VE
- Add the template "Citation needed"
- Now click on the template to being up the context menu.
- Click on "Add a citation" button
- Add a citation
Expected result: The newly added citation should replace the "Citation needed" template.
Actual result: It's getting added next to the template without replacing it.
This issue is a regression and happening on Beta cluster. Works fine on en.wiki.
See the screenshot: