Page MenuHomePhabricator

CX can't load any pages from be-tarask Wikipedia
Closed, ResolvedPublic

Description

While translating from be-tarask wiki, https://en.wikipedia.org/wiki/Special:ContentTranslation?page=Audi&from=be-tarask&to=en&targettitle=Audi CX can't load 'Audi' in source.

cxserver error at https://cxserver.wikimedia.org/v1/page/be-x-old/Audi : Page be-x-old:Audi could not be found. HTTPError: 404: https://mediawiki.org/wiki/HyperSwitch/errors/not_found#route

Related Objects

StatusSubtypeAssignedTask
OpenNone
OpenNone
OpenNone
OpenNone
OpenNone
OpenNone
StalledNone
StalledNone
InvalidNone
StalledNone
StalledNone
StalledNone
StalledNone
StalledFeatureNone
OpenNone
StalledFeatureNone
StalledFeatureNone
OpenFeatureNone
StalledNone
StalledNone
OpenNone
ResolvedWinston_Sung
ResolvedWinston_Sung

Event Timeline

KartikMistry edited subscribers, added: santhosh; removed: Pavan_santhosh.s.

This is probably related to https://gerrit.wikimedia.org/r/#/c/270579/1

Can't cxserver redirect from be-x-old to be-tarask? Or maybe not cxserver itself, but some other component in the services infrastructure?

If this can't be easily resolved there, then maybe https://gerrit.wikimedia.org/r/#/c/270579/1 should be reverted.

The real root cause is probably T112426, which must be resolved properly on the Wikidata side, but it still makes sense to redirect from an old domain name to a new one.

Re-checked in wmf.18 - the issue is still present with cx2. With this issue, ContentTranslation tool cannot be used at all for translation from be-tarasl .
When attempting to start translation from be-tarask.wikipedia.org

  • the Suggestions are not display if be-tarask is selected as a source language
  • the suggestion list when a new translation started is not displayed

Change 882172 had a related patch set uploaded (by Winston Sung; author: Winston Sung):

[mediawiki/extensions/ContentTranslation@master] Remove subdomain-migrated language code "be-tarask" / "be-x-old" from DomainCodeMapping

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

Change 882173 had a related patch set uploaded (by Winston Sung; author: Winston Sung):

[mediawiki/services/cxserver@master] Remove subdomain-migrated language code "be-tarask" / "be-x-old" from language-domain-mapping

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

Change 882173 merged by jenkins-bot:

[mediawiki/services/cxserver@master] Reverse key-value for subdomain-migrated language code "be-tarask" / "be-x-old" from language-domain-mapping

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

Change 882172 merged by jenkins-bot:

[mediawiki/extensions/ContentTranslation@master] Reverse key-value for subdomain-migrated language code "be-tarask" / "be-x-old" for DomainCodeMapping

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

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

[operations/deployment-charts@master] Update cxserver to 2023-01-23-123356-production

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

Winston_Sung changed the task status from Open to In Progress.Jan 30 2023, 6:04 AM

Special:ContentTranslation is now working on the production environment with this change:

Change 882172 had a related patch set uploaded (by Winston Sung; author: Winston Sung):

[mediawiki/extensions/ContentTranslation@master] Remove subdomain-migrated language code "be-tarask" / "be-x-old" from DomainCodeMapping

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

We could finally close this task after this change being merged and tested.

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

[operations/deployment-charts@master] Update cxserver to 2023-01-23-123356-production

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

Change 882791 merged by jenkins-bot:

[operations/deployment-charts@master] Update cxserver to 2023-02-02-004918-production

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

Winston_Sung claimed this task.
Winston_Sung removed a project: Patch-For-Review.

All of them are now working as expected after the deployment.

In T129470, the description wrote:

cxserver error at https://cxserver.wikimedia.org/v1/page/be-x-old/Audi : Page be-x-old:Audi could not be found.