This appears to be a new variation (this time involving reference groups) of https://phabricator.wikimedia.org/T400013
Steps to replicate the issue:
- On a wiki with ISBN magic links enabled (e.g., de.wikipedia.org), create a page with the following minimal wikitext:
ABC.<ref group="G" name="N1"/><ref group="G" name="N2"/> == Quellen == <references group="G"> <ref name="N1"> ABC </ref> <ref name="N2"> ISBN 978-3-86927-039-5 </ref> </references>
This example can be found under https://de.wikipedia.org/w/index.php?title=Benutzer:Kallichore/Test&oldid=259220333
2: Make a minor change with the VisualEditor and save the change.
What happens?:
The VisualEditor incorrectly removes the first reference N1.
Further information :
I noticed the problem because of this edit in de.Wikipedia:
https://de.wikipedia.org/w/index.php?title=G%C3%BCnter_Dietrich_%28Ozeanograf%29&diff=259209716&oldid=248770671
