Steps to replicate the issue (include links if applicable):
- Open Content Translation tool 2
- Choose to translate any page (I tested translation from English to Ukrainian; for testing, I chose https://en.wikipedia.org/wiki/Yun_Jeung)
- Try to translate two passages with refs
What happens?:
The first passage will get the right translation, but after adding the second passage, the first one gets an undefined reference while the second one gets a reference from the first one.
What should have happened instead?:
Every passage has to get the right ref that appears in the original passage.
Software version (on Special:Version page; skip for WMF-hosted wikis like Wikipedia):
Other information (browser name/version, screenshots, etc.):
The real examples from translations in Ukranian Wikipedia:
- https://uk.wikipedia.org/w/index.php?title=%D0%95%D0%BD%D0%BE%D0%BB%D0%B0_%D0%A5%D0%BE%D0%BB%D0%BC%D1%81_3&oldid=46924951
- https://uk.wikipedia.org/w/index.php?title=%D0%9C%D0%B0%D0%BA%D0%B0%D1%80%D1%96%D0%BE_(%D1%81%D1%82%D0%B0%D0%B4%D1%96%D0%BE%D0%BD)&oldid=46926360
The screenshot from the Content Translation tool:

