Page MenuHomePhabricator

Can't translate en:Tokyo in Gujarati
Closed, ResolvedPublic2 Estimated Story PointsBUG REPORT

Description

Steps to replicate the issue:

  • Start a ContentTranslation with Tokyo as the source article from English.
  • Translation editor will load, but the source article won't load and shows an Internal Error.

What happens?:

The source article isn't loading, so it isn't possible to translate the article.

https://cxserver.wikimedia.org/v2/page/en/gu/Tokyo shows an error: Page en:Tokyo could not be fetched. Error: Error: Sectionwrap: Attempting to remove a non-section tag: undefined

What should have happened instead?:

The article should load, and the user should be able to translate en:Tokyo.

I tried some other articles, and it seems to be working fine.

Event Timeline

Also note that,

https://cxserver.wikimedia.org/v2/suggest/sections/Tokyo/en/gu?include_section_sizes=true shows 404 in the console while starting the translation.

Along with,

[CX] Translation initialization failed. TypeError: Cannot read properties of undefined (reading 'revision')
    at mw.cx.init.Translation.js:86:55
Nikerabbit changed the task status from Open to In Progress.Sep 15 2025, 8:11 AM
Nikerabbit moved this task from Backlog to In Progress on the LPL Essential (2025 Jul-Oct) board.

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

[mediawiki/services/cxserver@master] Add wiki-chart as block tag

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

Change #1188613 merged by jenkins-bot:

[mediawiki/services/cxserver@master] Add wiki-chart as block tag

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

Change #1189381 had a related patch set uploaded (by KartikMistry; author: KartikMistry):

[operations/deployment-charts@master] Update cxserver to 2025-09-16-161231-production

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

Change #1189381 merged by jenkins-bot:

[operations/deployment-charts@master] Update cxserver to 2025-09-16-161231-production

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

Tested. Page loading in ContentTranslation is now working fine.

Reopening as I see this issue is still happening. Root cause may be different though

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

[mediawiki/services/cxserver@master] Fix section wrap failure caused by missed checks for section state

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

KartikMistry changed the task status from Open to In Progress.May 13 2026, 6:03 AM
KartikMistry moved this task from Backlog to In Progress on the LPL Essential (FY2025-26 Q3&4) board.

For translations from English to Portuguese (whether already in progress or new), the following error appears: “Critical error: Failed to load the content translation due to an internal error.”

Change #1286740 merged by jenkins-bot:

[mediawiki/services/cxserver@master] Fix section wrap failure caused by missed checks for section state

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

Change #1287409 had a related patch set uploaded (by KartikMistry; author: KartikMistry):

[operations/deployment-charts@master] Update cxserver to 2026-05-14-123010-production

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

Change #1287409 merged by jenkins-bot:

[operations/deployment-charts@master] Update cxserver to 2026-05-14-123010-production

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

Mentioned in SAL (#wikimedia-operations) [2026-05-14T13:00:38Z] <kart_> Updated cxserver to 2026-05-14-123010-production (T426174, T404298)

For translations from English to Portuguese (whether already in progress or new), the following error appears: “Critical error: Failed to load the content translation due to an internal error.”

This should be fixed now. Let us know if the problem persists.

For translations from English to Portuguese (whether already in progress or new), the following error appears: “Critical error: Failed to load the content translation due to an internal error.”

This should be fixed now. Let us know if the problem persists.

The problem remains.