Page MenuHomePhabricator

Content Translation is broken in test wiki
Closed, ResolvedPublicBUG REPORT

Description

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

  1. Visit Content Translation in test wiki and start a translation:

e.g. https://test.wikipedia.org/w/index.php?title=Special:ContentTranslation&from=en&to=el&page=Eric%20Roberts

What happens?:
The source article doesn't load and the tool is broken.

Note: The issue is a regression caused by this patch, that was trying to adjust the code following the latest changes in Visual Editor extension.

Other information (browser name/version, screenshots, etc.):
Screencast of the issue:

Event Timeline

ngkountas triaged this task as Unbreak Now! priority.
ngkountas added a project: ContentTranslation.

Screencast from my local installation before fix:

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

[mediawiki/extensions/ContentTranslation@master] CX: Provide the appropriate arguments to ve.ui.CXSurface constructor

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

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

[mediawiki/extensions/ContentTranslation@wmf/1.40.0-wmf.22] CX: Provide the appropriate arguments to ve.ui.CXSurface constructor

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

Change 887768 merged by jenkins-bot:

[mediawiki/extensions/ContentTranslation@master] CX: Provide the appropriate arguments to ve.ui.CXSurface constructor

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

Change 887847 merged by jenkins-bot:

[mediawiki/extensions/ContentTranslation@wmf/1.40.0-wmf.22] CX: Provide the appropriate arguments to ve.ui.CXSurface constructor

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

Mentioned in SAL (#wikimedia-operations) [2023-02-09T08:19:04Z] <kartik@deploy1002> Started scap: Backport for [[gerrit:887847|CX: Provide the appropriate arguments to ve.ui.CXSurface constructor (T329154)]]

Mentioned in SAL (#wikimedia-operations) [2023-02-09T08:20:59Z] <kartik@deploy1002> kartik: Backport for [[gerrit:887847|CX: Provide the appropriate arguments to ve.ui.CXSurface constructor (T329154)]] synced to the testservers: mwdebug2002.codfw.wmnet, mwdebug1002.eqiad.wmnet, mwdebug1001.eqiad.wmnet, mwdebug2001.codfw.wmnet

Mentioned in SAL (#wikimedia-operations) [2023-02-09T08:32:14Z] <kartik@deploy1002> Finished scap: Backport for [[gerrit:887847|CX: Provide the appropriate arguments to ve.ui.CXSurface constructor (T329154)]] (duration: 13m 10s)