Page MenuHomePhabricator

CX 2 replicate the same reference for other passage with different ref in original text
Closed, DuplicatePublicBUG REPORT

Description

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:

The screenshot from the Content Translation tool:

image.png (750×253 px, 76 KB)

image.png (1,066×112 px, 36 KB)

Event Timeline

This comment was removed by MonX94.

Also happens in plain VisualEditor: T413153 (not in translation).

Change #1234342 had a related patch set uploaded (by WMDE-Fisch; author: WMDE-Fisch):

[VisualEditor/VisualEditor@master] Revert "Maintain keyIndexes when rebuilding InternalList"

https://gerrit.wikimedia.org/r/1234342

Change #1234342 merged by jenkins-bot:

[VisualEditor/VisualEditor@master] Revert "Maintain keyIndexes when rebuilding InternalList"

https://gerrit.wikimedia.org/r/1234342

Change #1237377 had a related patch set uploaded (by DLynch; author: DLynch):

[mediawiki/extensions/VisualEditor@master] Update VE core submodule to master (3e09937e9)

https://gerrit.wikimedia.org/r/1237377

Change #1237377 merged by jenkins-bot:

[mediawiki/extensions/VisualEditor@master] Update VE core submodule to master (3e09937e9)

https://gerrit.wikimedia.org/r/1237377