Page MenuHomePhabricator

SX: Section title is not restored when continuing a non-lead section draft translation
Closed, ResolvedPublicBUG REPORT

Description

Steps to replicate the issue (include links if applicable):

  1. Go to SX application
  2. Select a non-lead section to expand an existing target article.
  3. Translate some sentences and wait for 3 seconds for the draft translation to be saved
  4. Go back to dashboard and refresh the page
  5. Select the just created draft translation from the in-progress dashboard list, to continue the translation

What happens?:
After the selection of the draft translation and once the navigation to the "Pick a sentence" step has been completed, the title at the top of the screen is the page title instead of the section title.

What should have happened instead?:
The (translated) section title should appear as title at the top of the screen.

Other information (browser name/version, screenshots, etc.):
Screencast from greek (el) production wiki:

Event Timeline

ngkountas triaged this task as Medium priority.

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

[mediawiki/extensions/ContentTranslation@master] SX: Use the target section title for non-lead restored sections

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

Change 919339 merged by jenkins-bot:

[mediawiki/extensions/ContentTranslation@master] SX: Use the target section title for non-lead restored sections

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

Change 919809 had a related patch set uploaded (by Santhosh; author: Santhosh):

[mediawiki/extensions/ContentTranslation@master] CX3 Build 0.2.0+20230515

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

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

[mediawiki/extensions/ContentTranslation@master] SX: Fix section title translation for both lead and non-lead sections

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

Change 919836 merged by jenkins-bot:

[mediawiki/extensions/ContentTranslation@master] SX: Fix section title translation for both lead and non-lead sections

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

Change 919809 merged by jenkins-bot:

[mediawiki/extensions/ContentTranslation@master] CX3 Build 0.2.0+20230515

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

The section title (of a non-lead draft section translation) is properly restored now in production. This task can be closed.

Screencast from greek (el) production wiki: