Page MenuHomePhabricator

SX: Block templates are not restored when continuing a draft translation
Closed, ResolvedPublicBUG REPORT

Description

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

  1. Visit SX application in any production wiki
  2. Start a translation for a section that contains a block template that can be successfully translated/adapted to the target language (e.g. infobox person).
  3. Translate a few segments, including the block template
  4. Wait a few seconds for the draft translation to be automatically saved
  5. Go to the SX dashboard and continue the saved draft translation

What happens?:
The draft translation is restored and all the translated segments are present, except for the block template, which appears untranslated.

What should have happened instead?:
The block template translation should also be restored, along with the other translated segments.

Other information (browser name/version, screenshots, etc.):
Screencast of the issue in greek (el) production wikipedia:

Event Timeline

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

[mediawiki/extensions/ContentTranslation@master] SX: Support restoration of block templates for draft translations

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

Change 917836 merged by jenkins-bot:

[mediawiki/extensions/ContentTranslation@master] SX: Support restoration of block templates for draft translations

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

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

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

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

Change 929037 merged by jenkins-bot:

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

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

As demonstrated in the following screencast, as recorded in el wiki, this issue is now fixed:

@Pginer-WMF do you think we could close this task?

@Pginer-WMF do you think we could close this task?

Looks good. Thanks for checking! Closing it now.