Page MenuHomePhabricator

CX: When starting a new translation for an already translated article, the published contents load in the editor
Closed, ResolvedPublic

Description

Currently, when the user tries to start a new translation for an article that they have translated and published in the past, the desktop editor loads the previously published contents, instead of starting a fresh new translation.

Screencast of this (undesired) behaviour from greek (el) production wiki:

This task suggests the desktop editor to only load the contents of previous translations, when such translations are still in-progress, otherwise (e.g. for published translations) the desktop editor should load the interface for a brand new translation.

Event Timeline

Change 977759 had a related patch set uploaded (by Nik Gkountas; author: Nik Gkountas):

[mediawiki/extensions/ContentTranslation@master] CX: Only load actual draft translation for 'desktop-editor-draft' case

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

Change 977759 merged by jenkins-bot:

[mediawiki/extensions/ContentTranslation@master] CX: Only load actual draft translation for 'desktop-editor-draft' case

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

Nikerabbit changed the task status from Open to In Progress.Nov 30 2023, 12:13 PM

This issue has now been fixed in production. As demonstrated in the screencast below, when a new translation is started for an already translated article for the same language pair, the old published translation is not restored and a fresh translation starts, as expected: