This bug is a long-time investigation from fr.wp users. We don't manage to find a reason, or don't manage to reproduce it.
Some people (probably) move references in articles, generating superfluous wikitext and addition of <span class="mw-reflink-text">, like in https://fr.wikipedia.org/w/index.php?diff=135669268&oldid=135666802
there is other cases on https://fr.wikipedia.org/wiki/Wikip%C3%A9dia:%C3%89diteurVisuel/Avis#Balises
Looks similar to T139268: CX2: Citations templates are sometimes translated to useless markup (or empty) without content or T100532: VE keeps moving comma with comment in newline.