Page MenuHomePhabricator

Returning to an in-progress translation breaks references and other templates
Open, HighPublic

Description

In Content Translation it is possible to work in translations in several sessions. A user reported that continuing an in-progress translation results in problems with the references: "references will be empty and the reused ones will be wrongly numbered (since there's no content and they're all considered unique references)"

Restoring a saved translation should recover the contents without any loss. We may need to investigate which may be the cause for this not to happen with references.

Another user in T293868 reported the issue may be more general, affecting other kinds of templates. This was illustrated in the following screencast.

__

May be related: T261170: References (not using templates) disappear in content translation

Event Timeline

Pginer-WMF triaged this task as Medium priority.Mar 24 2021, 1:39 PM
Pginer-WMF created this task.
Pginer-WMF added a subscriber: santhosh.
Pginer-WMF added a subscriber: UOzurumba.

steps:
1-go to https://pt.wikipedia.org/wiki/Special:ContentTranslation?page=M-35+%28Michigan+highway%29&from=en&to=pt&targettitle=M-35+%28Michigan+highway%29
2-translate the "Tourist routes" title and paragraph
3-scroll down to references
4-translate the title and references (we get this error when translating the references list with google or yandex)

image.png (224×366 px, 5 KB)

image.png (60×592 px, 12 KB)

5-add a reference list manually using the editor
6-let the auto-save feature save the draft and go back to the dashboard
7-load the draft translation and go down to the references

  • Actual Results

this error appears and there are no references showing

image.png (84×804 px, 17 KB)

  • Expected Results

the article is loaded as it was saved before

@Pginer-WMF the issue on step 4 is new for me, should I create a new ticket for this?

@Pginer-WMF the issue on step 4 is new for me, should I create a new ticket for this?

Thanks for the details. Yes, please. a separate ticket will be helpful. thanks!

I have the same problem '⧼cx-mt-failed ⧽' when I try change from Apertium to Google Translator on a English to Spanish translation.

image.png (574×1 px, 58 KB)

Pginer-WMF raised the priority of this task from Medium to High.Oct 1 2021, 12:49 PM
Pginer-WMF renamed this task from Returning to an in-progress translation breaks references to Returning to an in-progress translation breaks references and other templates.Oct 25 2021, 10:39 AM
Pginer-WMF updated the task description. (Show Details)