I loaded Atazanavir on Spanish Wikipedia into CTX and added the first three paragraphs. You will notice all the references are in place.
I made no other changes as I was testing this tool as some of my volunteers were having issues. Than when I hit publish I get the following with the references missing from the first two paragraphs. Also the Wikipedia page " HIV/AIDS" ends up as " #sida/de VIH "
Details to reproduce the issue
A sample of the problematic Wikitext is captured in this page (quick link to translate)
The example is a reference that is used in multiple parts of a paragraph. All those instances appear in Content Translation when the paragraphs are added to the translation. But some of them are lost after publishing.
Original content:
In Content Translation:
After publishing:
The red circles show the places where the reference "[1]" was expected to appear but failed to do so.