Page MenuHomePhabricator

Translate master is not compatible with 1.37 (and likely .35/6) VisualEditor
Closed, ResolvedPublic

Description

Translate master should be backwards compatible but a commit on the master branch is (https://gerrit.wikimedia.org/r/c/mediawiki/extensions/Translate/+/730189) dependant on a commit only in VE master (https://gerrit.wikimedia.org/r/c/mediawiki/extensions/VisualEditor/+/725297).

VE support is based on release branches so the VE changes need to be on all Translate Supported release branches.

Event Timeline

RhinosF1 created this task.

Change 735339 had a related patch set uploaded (by RhinosF1; author: Isabelle Hurbain-Palatin):

[mediawiki/extensions/VisualEditor@REL1_37] Handle annotation tags as nodes rather than metaitems.

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

Change 735339 had a related patch set uploaded (by RhinosF1; author: Isabelle Hurbain-Palatin):

[mediawiki/extensions/VisualEditor@REL1_37] Handle annotation tags as nodes rather than metaitems.

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

I uploaded a patch although I don't think a simple cherry pick looks easy.

RhinosF1 renamed this task from Translate master is not compatible with 1.37 VisualEditor to Translate master is not compatible with 1.37 (and likely .35/6) VisualEditor.Oct 28 2021, 10:22 PM
ihurbain added a subscriber: ihurbain.

After discussing this issue, it seems the preferred approach would be to condition the loading of the VE features in translate to the existence of the corresponding code in VE. I'll take care of that on Monday.

Change 735958 had a related patch set uploaded (by Isabelle Hurbain-Palatin; author: Isabelle Hurbain-Palatin):

[mediawiki/extensions/Translate@master] Introduced version check on VisualEditor features

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

Change 735339 abandoned by Bartosz Dziewoński:

[mediawiki/extensions/VisualEditor@REL1_37] Handle annotation tags as nodes rather than metaitems.

Reason:

Looks like we're going to disable the broken feature in Translate on 1.37 (see https://gerrit.wikimedia.org/r/c/735958) rather than backporting it.

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

Change 735958 merged by jenkins-bot:

[mediawiki/extensions/Translate@master] Introduced version check on VisualEditor features

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

Can we get an expidated release of translate or announcement?

It doesn't seem right to wait until the next MLEB release for this.

Can we get an expidated release of translate or announcement?

It doesn't seem right to wait until the next MLEB release for this.

Created: T295671: Release MLEB-2021.11 - Will try to release it this week.

Change 739135 had a related patch set uploaded (by Abijeet Patro; author: Isabelle Hurbain-Palatin):

[mediawiki/extensions/Translate@mleb-2021.11] Introduced version check on VisualEditor features

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

Change 739135 abandoned by Abijeet Patro:

[mediawiki/extensions/Translate@mleb-2021.11] Introduced version check on VisualEditor features

Reason:

Will resubmit

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

Change 739177 had a related patch set uploaded (by Abijeet Patro; author: Isabelle Hurbain-Palatin):

[mediawiki/extensions/Translate@mleb-2021.11] Introduced version check on VisualEditor features

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

Change 739177 merged by jenkins-bot:

[mediawiki/extensions/Translate@mleb-2021.11] Introduced version check on VisualEditor features

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