Page MenuHomePhabricator

Selecting a different language in Special:CX in mobile mode on a desktop computer opens desktop CX2
Open, MediumPublic

Description

To reproduce:

  1. Log in.
  2. Open https://yo.m.wikipedia.org/wiki/Special:CX on a desktop computer. (Don't enable mobile emulation using developer tools.)
  3. Initially, Bengali is shown as the target language. (This is a separate bug: T294065.)
  4. Click the target language and select Yoruba.

Expected: To see the Section Translation dashboard.

Observed: I see the desktop Content Translation (CX2) dashboard.

The URL is https://yo.wikipedia.org/wiki/Special:ContentTranslation?from=en&to=yo&sx=true#draft , but the fact that it says "sx=true" doesn't help.

Event Timeline

Amire80 renamed this task from Selecting a different language in Special:CX in mobile mode on a desktop computer to Selecting a different language in Special:CX in mobile mode on a desktop computer opens desktop CX2.Oct 21 2021, 9:57 PM

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

[mediawiki/extensions/ContentTranslation@master] mw.cx.SiteMapper: Add isMobile method and use it inside getPageUrl

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

Change 736487 merged by jenkins-bot:

[mediawiki/extensions/ContentTranslation@master] CX SiteMapper: Add isMobileDomain method and use it inside getPageUrl

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

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

[mediawiki/extensions/ContentTranslation@master] CX3 Build 0.1.0+20211108

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

Change 737354 merged by jenkins-bot:

[mediawiki/extensions/ContentTranslation@master] CX3 Build 0.1.0+20211108

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