Page MenuHomePhabricator

Enable Section Translation on some wikis while Content Translation remains in beta
Closed, ResolvedPublic1 Estimated Story Points

Description

Wikis, where Content Translation is still not out of beta but is frequently used, may benefit from having the mobile experience available, even if Content Translation remains as a beta feature for a while (T298029). This will also allow future integration with projects from the Growth team where some of these wikis are selected as target wikis.

As part of this process, we'll generate the template parameter alignments (T221211) for these languages, enable the access to the tool in test wiki for editors to try, communicate with the different communities and only proceed with the enablement if there is no major concern.

These are the languages selected for this task:

  • Hindi (hi)
  • Arabic (ar)
  • Portuguese (pt)
  • Catalan (ca)
  • Chinese (zh)

Steps:

  • Generate template parameter alignments (T221211)
    • en->ar (Old mapping: 295, New mapping: 420)
    • en->ca (428)
    • en->hi (186)
    • en->pt (Old mapping: 199, New mapping: 283)
    • en->zh (Old mapping: 687, New mapping: 1166)
  • Enable selected wikis on Test Wikipedia
  • Enable in the selected Wikipedias

Event Timeline

KartikMistry updated Other Assignee, added: UOzurumba.
KartikMistry updated the task description. (Show Details)

Despite 5 out 6 languages containing template parameters mapping in our database, it would be good to redo them since the last run for these pairs was over 2 years ago. We might get better results once updated scripts run.

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

[mediawiki/services/cxserver@master] Added template parameter alignments for en > hi

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

Change 797097 merged by jenkins-bot:

[mediawiki/services/cxserver@master] Added template parameter alignments for en > hi

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

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

[operations/mediawiki-config@master] Enable Section Translation for Hindi in testwiki

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

Updated results for en->{ar, es, pt, zh} pairs:

sqlite> select count(*) from templates where source_lang='en' and target_lang='ar';
420
sqlite> select count(*) from templates where source_lang='en' and target_lang='es';
602
sqlite> select count(*) from templates where source_lang='en' and target_lang='pt';
283
sqlite> select count(*) from templates where source_lang='en' and target_lang='zh';
1166

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

[mediawiki/services/cxserver@master] Updated template parameter alignments for en -> {ar, es, pt, zh}

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

Change 798845 merged by jenkins-bot:

[mediawiki/services/cxserver@master] Updated template parameter alignments for en -> {ar, es, pt, zh}

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

Change 798389 merged by jenkins-bot:

[operations/mediawiki-config@master] Enable Section Translation for Hindi in testwiki

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

Mentioned in SAL (#wikimedia-operations) [2022-05-25T07:23:09Z] <kart_> Config: [[gerrit:798389|Enable Section Translation for Hindi in testwiki (T308834)]]

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

[operations/deployment-charts@master] Update cxserver to 2022-05-26-052433-production

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

Change 799638 merged by jenkins-bot:

[operations/deployment-charts@master] Update cxserver to 2022-05-26-052433-production

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

Mentioned in SAL (#wikimedia-operations) [2022-05-26T06:15:42Z] <kart_> Updated cxserver to 2022-05-26-052433-production (T309161, T308829, T308834)

@UOzurumba We can start a communication discussion about this task now.

KartikMistry set the point value for this task to 1.Jun 1 2022, 8:27 AM

Hello @KartikMistry, please proceed with enabling Section translation for Hindi, Arabic, Portuguese, Catalan and Chinese. Do not enable for Spanish as there were objections to having the tool. Thank you!

KartikMistry updated the task description. (Show Details)

Hello @KartikMistry, please proceed with enabling Section translation for Hindi, Arabic, Portuguese, Catalan and Chinese. Do not enable for Spanish as there were objections to having the tool. Thank you!

Sure. I've split task for Spanish Wikipedia and created: https://phabricator.wikimedia.org/T333116

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

[operations/mediawiki-config@master] Enable Section Translation on some wikis while Content Translation remains in beta

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

Change 903003 merged by jenkins-bot:

[operations/mediawiki-config@master] Enable Section Translation on some wikis while Content Translation remains in beta

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

Mentioned in SAL (#wikimedia-operations) [2023-03-28T07:08:43Z] <kartik@deploy2002> Started scap: Backport for [[gerrit:903003|Enable Section Translation on some wikis while Content Translation remains in beta (T308834)]]

Mentioned in SAL (#wikimedia-operations) [2023-03-28T07:10:51Z] <kartik@deploy2002> kartik: Backport for [[gerrit:903003|Enable Section Translation on some wikis while Content Translation remains in beta (T308834)]] synced to the testservers: mwdebug1001.eqiad.wmnet, mwdebug2001.codfw.wmnet, mwdebug1002.eqiad.wmnet, mwdebug2002.codfw.wmnet

Mentioned in SAL (#wikimedia-operations) [2023-03-28T07:20:49Z] <kartik@deploy2002> Finished scap: Backport for [[gerrit:903003|Enable Section Translation on some wikis while Content Translation remains in beta (T308834)]] (duration: 12m 05s)