Page MenuHomePhabricator

Fix the mobile experience for a group of Wikipedias where Content Translation is in beta
Closed, ResolvedPublic

Description

Content Translation was originally designed for desktop, and later mobile support has been added gradually (giving priority to those wikis becoming available by default out of beta).

This ticket proposes to update the mobile experience on a group of wikis where the desktop experience is still in beta. Content Translation will remain in beta for both desktop and mobile, but the mobile experience will no longer be broken.

These are the selected Wikipedias:

  1. Dutch (nl)
  2. Swedish (sv)
  3. Norwegian Bokmål (no/nb)
  4. Catalan (ca)
  5. French (fr)
  6. Italian (it)
  7. Polish (pl)

After these and other improvements to the tool are completed, we can consider start conversations with the communities to consider the graduation of the tool out of beta, but this is not in the scope of this ticket.

Event Timeline

Pginer-WMF triaged this task as Medium priority.Dec 19 2023, 4:43 PM
Pginer-WMF updated the task description. (Show Details)
Pginer-WMF added a subscriber: UOzurumba.

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

[mediawiki/extensions/ContentTranslation@master] Enable SX for mobile devices even when CX is in beta

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

Nikerabbit changed the task status from Open to In Progress.Jan 15 2024, 12:26 PM

Change 989839 abandoned by Nik Gkountas:

[mediawiki/extensions/ContentTranslation@master] Enable SX for mobile devices even when CX is in beta

Reason:

invalid approach for this task

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

Only thing needed for this task is to set ContentTranslationEnableSectionTranslation configuration parameter to true. Assigning this task to @KartikMistry

ngkountas changed the task status from In Progress to Open.Jan 16 2024, 7:45 PM
ngkountas reassigned this task from ngkountas to KartikMistry.
ngkountas removed a project: Patch-For-Review.
ngkountas subscribed.

@ngkountas Do we need to add target languages in wgSectionTranslationTargetLanguages for these Wikipedias?

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

[operations/mediawiki-config@master] WIP: Enable SectionTranslation for Wikipedias where ContentTranslation is in beta

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

@ngkountas Do we need to add target languages in wgSectionTranslationTargetLanguages for these Wikipedias?

Yes, we would also need to add these languages in wgSectionTranslationTargetLanguages configuration parameter.

Change 1004613 merged by jenkins-bot:

[operations/mediawiki-config@master] Enable SectionTranslation for Wikipedias where ContentTranslation is in beta

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

Mentioned in SAL (#wikimedia-operations) [2024-02-28T08:28:34Z] <kartik@deploy2002> Finished scap: Backport for [[gerrit:995176|Enable Section Translation on newly created Wikipedias by default (T298235)]], [[gerrit:1004613|Enable SectionTranslation for Wikipedias where ContentTranslation is in beta (T353734)]] (duration: 12m 59s)

Section Translation seems to be available in the selected wikis except for Norwegian, where it is showing two different results depending on the code used (no or nb) and both are not the expected result:

  • Using the "no" code the mobile version is loaded but after some milliseconds the user is automatically redirected to the dashboard in the ace Wikipedia. The user should remain in the mobile Norwegian version instead.
  • Using the "nb" code the desktop version of Content Translation is loaded instead of the mobile one.

Section Translation seems to be available in the selected wikis except for Norwegian, where it is showing two different results depending on the code used (no or nb) and both are not the expected result:

This is strange. I'm looking into this.

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

[operations/mediawiki-config@master] Section Translation: Add 'nb' in target language code

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

Change 1007340 merged by jenkins-bot:

[operations/mediawiki-config@master] Section Translation: Add 'nb' in target language code

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

Mentioned in SAL (#wikimedia-operations) [2024-02-29T08:39:16Z] <kartik@deploy2002> Started scap: Backport for [[gerrit:1007340|Section Translation: Add 'nb' in target language code (T353734)]]

Mentioned in SAL (#wikimedia-operations) [2024-02-29T08:40:48Z] <kartik@deploy2002> kartik: Backport for [[gerrit:1007340|Section Translation: Add 'nb' in target language code (T353734)]] synced to the testservers (https://wikitech.wikimedia.org/wiki/Mwdebug)

Mentioned in SAL (#wikimedia-operations) [2024-02-29T08:52:02Z] <kartik@deploy2002> Finished scap: Backport for [[gerrit:1007340|Section Translation: Add 'nb' in target language code (T353734)]] (duration: 12m 45s)

Section Translation seems to be available in the selected wikis except for Norwegian, where it is showing two different results depending on the code used (no or nb) and both are not the expected result:

@Pginer-WMF This should be fixed now.

@Pginer-WMF This should be fixed now.

It works. Thanks!!