Page MenuHomePhabricator

Enable Content and Section translation on 7 Wikipedias
Closed, ResolvedPublic

Description

All Wikipedias identified as part of the Boost initiative already have Section Translation available. This ticket proposes to enable the tool on other Wikipedias as well as enable Content Translation as a default tool to facilitate translation on both desktop and mobile devices.

As part of this process, we'll generate the template parameter alignments (T221211) for these languages, enable 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:

  1. Cherokee (chr) Models are available in MinT but not exposed in Content Translation yet (T333969) Update: MinT is now enabled in Cherokee
  2. Tongan (to) Models are available in MinT but not exposed in Content Translation yet (T333969) Update: MinT is now enabled in Tongan
  3. Hungarian (hu)
  4. Kazakh (kk)
  5. Kyrgyz (ky)
  6. Minangkabau (min)
  7. Sardinian (sc)
  8. Awadhi (awa) See: T338123. Content translation is already the default, but mobile experience and parameter alignment are pending Update: Template parameter alignment is not possible due to the unavailability of a fasttext model
  9. Irish (ga) See:T334915 Content translation is already the default, but mobile experience and parameter alignment are pending
  10. Ligurian (lij) See: T337669
  11. Uyghur (ug) See: T329812
  12. Scottish Gaelic (gd) See: T334915

Steps:

  • Expose MinT in Content Translation for Cherokee (chr) and Tongan (to) if not covered in T333969
  • Generate template parameter alignments (T221211)
    • Awadhi (awa) Template parameter alignment is not possible due to the unavailability of a fasttext model
    • Cherokee (chr)
    • Irish (ga)
    • Scottish Gaelic (gd)
    • Hungarian (hu)
    • Ligurian (lij)
    • Minangkabau (min)
    • Kazakh (kk)
    • Kyrgyz (ky)
    • Sardinian (sc)
    • Tongan (to) Template parameter alignment is not possible due to the lack of Cite:Web template in the Wiki
    • Uyghur (ug)
  • Enable selected wikis on Test Wikipedia
  • Enable Content and Section translation in Production for these Wikipedias.
    • awawiki is already enabled as part of T338123.

Event Timeline

Pginer-WMF triaged this task as Medium priority.Aug 1 2023, 11:38 AM
Pginer-WMF moved this task from Backlog to Adding languages on the MinT board.
Pginer-WMF moved this task from Needs Triage to MT on the ContentTranslation board.

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

[mediawiki/services/cxserver@master] Enable MinT for Cherokee (chr) and Tongan (to)

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

Change 944223 merged by jenkins-bot:

[mediawiki/services/cxserver@master] Enable MinT for Cherokee (chr) and Tongan (to)

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

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

[operations/deployment-charts@master] Update cxserver to 2023-08-03-132800-production

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

Change 945697 merged by jenkins-bot:

[operations/deployment-charts@master] Update cxserver to 2023-08-03-132800-production

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

KartikMistry changed the task status from Open to In Progress.Aug 7 2023, 6:35 AM
KartikMistry updated the task description. (Show Details)

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

[operations/mediawiki-config@master] testwiki: Enable Section Translation for 7 Wikipedias

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

Result of template parameter alignment:

sqlite> select count(*) from templates where source_lang='en' and target_lang='chr';
4
sqlite> select count(*) from templates where source_lang='en' and target_lang='ga';
3
sqlite> select count(*) from templates where source_lang='en' and target_lang='gd';
10
sqlite> select count(*) from templates where source_lang='en' and target_lang='hu';
198
sqlite> select count(*) from templates where source_lang='en' and target_lang='lij';
8
sqlite> select count(*) from templates where source_lang='en' and target_lang='min';
34
sqlite> select count(*) from templates where source_lang='en' and target_lang='kk';
73
sqlite> select count(*) from templates where source_lang='en' and target_lang='ky';
34
sqlite> select count(*) from templates where source_lang='en' and target_lang='sc';
10
sqlite> select count(*) from templates where source_lang='en' and target_lang='ug';
2
sqlite> select count(*) from templates where source_lang='chr' and target_lang='en';
0
sqlite> select count(*) from templates where source_lang='ga' and target_lang='en';
1
sqlite> select count(*) from templates where source_lang='gd' and target_lang='en';
7
sqlite> select count(*) from templates where source_lang='hu' and target_lang='en';
125
sqlite> select count(*) from templates where source_lang='lij' and target_lang='en';
6
sqlite> select count(*) from templates where source_lang='min' and target_lang='en';
11
sqlite> select count(*) from templates where source_lang='kk' and target_lang='en';
0
sqlite> select count(*) from templates where source_lang='ky' and target_lang='en';
12
sqlite> select count(*) from templates where source_lang='sc' and target_lang='en';
7
sqlite> select count(*) from templates where source_lang='ug' and target_lang='en';
1

Full database diff available at: https://phabricator.wikimedia.org/P50220

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

[mediawiki/services/cxserver@master] Update Template Parameter Alignment DB for 10 Wikipedias

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

Change 946852 merged by jenkins-bot:

[operations/mediawiki-config@master] testwiki: Enable Section Translation for 7 Wikipedias

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

Mentioned in SAL (#wikimedia-operations) [2023-08-09T07:02:13Z] <kartik@deploy1002> Started scap: Backport for [[gerrit:946852|testwiki: Enable Section Translation for 7 Wikipedias (T343211)]]

Mentioned in SAL (#wikimedia-operations) [2023-08-09T07:03:42Z] <kartik@deploy1002> kartik: Backport for [[gerrit:946852|testwiki: Enable Section Translation for 7 Wikipedias (T343211)]] synced to the testservers mwdebug2002.codfw.wmnet, mwdebug2001.codfw.wmnet, mwdebug1002.eqiad.wmnet, mwdebug1001.eqiad.wmnet, and mw-debug kubernetes deployment (accessible via k8s-experimental XWD option)

Mentioned in SAL (#wikimedia-operations) [2023-08-09T07:12:11Z] <kartik@deploy1002> Finished scap: Backport for [[gerrit:946852|testwiki: Enable Section Translation for 7 Wikipedias (T343211)]] (duration: 09m 58s)

KartikMistry added a subscriber: UOzurumba.

@UOzurumba You can send notifications about upcoming SX enablement to these Wikipedia communities (except Ligurian (lij) (See: T337669)).

Change 947196 merged by jenkins-bot:

[mediawiki/services/cxserver@master] Update Template Parameter Alignment DB for 10 Wikipedias

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

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

[operations/deployment-charts@master] Update cxserver to 2023-08-14-091804-production

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

Change 949619 merged by jenkins-bot:

[operations/deployment-charts@master] Update cxserver to 2023-08-14-091804-production

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

UOzurumba updated the task description. (Show Details)
UOzurumba added a subscriber: KartikMistry.
UOzurumba updated the task description. (Show Details)

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

[operations/mediawiki-config@master] Enable Section and Content Translation in 7 Wikipedias

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

Change 953756 merged by jenkins-bot:

[operations/mediawiki-config@master] Enable Section and Content Translation in 7 Wikipedias

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

Mentioned in SAL (#wikimedia-operations) [2023-09-05T07:16:35Z] <kartik@deploy1002> Started scap: Backport for [[gerrit:953756|Enable Section and Content Translation in 7 Wikipedias (T343211)]]

Mentioned in SAL (#wikimedia-operations) [2023-09-05T07:18:15Z] <kartik@deploy1002> kartik: Backport for [[gerrit:953756|Enable Section and Content Translation in 7 Wikipedias (T343211)]] synced to the testservers mwdebug2001.codfw.wmnet, mwdebug1002.eqiad.wmnet, mwdebug2002.codfw.wmnet, mwdebug1001.eqiad.wmnet, and mw-debug kubernetes deployment (accessible via k8s-experimental XWD option)

Mentioned in SAL (#wikimedia-operations) [2023-09-05T07:32:21Z] <kartik@deploy1002> Finished scap: Backport for [[gerrit:953756|Enable Section and Content Translation in 7 Wikipedias (T343211)]] (duration: 15m 45s)

Pginer-WMF renamed this task from Enable Content and Section translation on 12 Wikipedias to Enable Content and Section translation on 7 Wikipedias.Sep 8 2023, 7:44 AM
Pginer-WMF updated the task description. (Show Details)