Page MenuHomePhabricator

Enable Content and Section translation on 6 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:

  • Meadow Mari/Eastern Mari Wikipedia (mhr)
  • Hill Mari/Western Mari Wikipedia (mrj)
  • Samoan Wikipedia (sm)
  • Danish Wikipedia (da)
  • Serbo-Croatian Wikipedia (sh)
  • Norwegian Nynorsk Wikipedia (nn) (Desktop experience is default already)

Steps:

  • Generate template parameter alignments (T221211)
    • Meadow Mari/Eastern Mari Wikipedia (mhr)
    • Hill Mari/Western Mari Wikipedia (mrj)
    • Samoan Wikipedia (sm)
    • Danish Wikipedia (da)
    • Serbo-Croatian Wikipedia (sh)
    • Norwegian Nynorsk Wikipedia (nn)
  • Enable selected wikis on Test Wikipedia
  • Enable Content Translation as default and Section Translation in the selected Wikipedias

Event Timeline

Template Alignment Parameter is not possible for mrj as of now due to missing cite:web template. We can review it later.

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

[mediawiki/services/cxserver@master] Add template parameter alignments for 10 language pairs

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

Few examples of template parameter alignment script run result

sqlite> select count(*) from templates where source_lang='en' and target_lang='mhr';
15
sqlite> select count(*) from templates where source_lang='en' and target_lang='sm';
4
sqlite> select count(*) from templates where source_lang='en' and target_lang='da';
248
sqlite> select count(*) from templates where source_lang='en' and target_lang='fi';
196
sqlite> select count(*) from templates where source_lang='en' and target_lang='sh';
102
sqlite> select count(*) from templates where source_lang='en' and target_lang='gd';
9
sqlite> select count(*) from templates where source_lang='en' and target_lang='no';
219
sqlite> select count(*) from templates where source_lang='en' and target_lang='nn';
87
sqlite> select count(*) from templates where source_lang='no' and target_lang='nn';
106
sqlite> select count(*) from templates where source_lang='nn' and target_lang='no';
80
sqlite> select count(*) from templates where source_lang='nn' and target_lang='da';
72
sqlite> select count(*) from templates where source_lang='no' and target_lang='da';
124
sqlite> select count(*) from templates where source_lang='da' and target_lang='fi';
80
sqlite> select count(*) from templates where source_lang='fi' and target_lang='da';
119
sqlite> select count(*) from templates where source_lang='fi' and target_lang='en';
125
sqlite> select count(*) from templates where source_lang='da' and target_lang='en';
91
sqlite> select count(*) from templates where source_lang='no' and target_lang='en';
111
sqlite> select count(*) from templates where source_lang='nn' and target_lang='en';
47

Change 893584 merged by jenkins-bot:

[mediawiki/services/cxserver@master] Add template parameter alignments for 10 language pairs

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

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

[operations/deployment-charts@master] Update cxserver to 2023-03-09-061555-production

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

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

[operations/mediawiki-config@master] Enable Section Translation on 11 Wikipedias

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

Change 895904 merged by jenkins-bot:

[operations/deployment-charts@master] Update cxserver to 2023-03-09-061555-production

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

Change 897404 merged by jenkins-bot:

[operations/mediawiki-config@master] testwiki: Enable Section Translation on 11 Wikipedias

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

Mentioned in SAL (#wikimedia-operations) [2023-03-13T07:15:19Z] <kartik@deploy2002> Started scap: Backport for [[gerrit:897404|testwiki: Enable Section Translation on 11 Wikipedias (T327102 T326541)]]

Mentioned in SAL (#wikimedia-operations) [2023-03-13T07:25:04Z] <kartik@deploy2002> kartik: Backport for [[gerrit:897404|testwiki: Enable Section Translation on 11 Wikipedias (T327102 T326541)]] synced to the testservers: mwdebug1001.eqiad.wmnet, mwdebug1002.eqiad.wmnet, mwdebug2002.codfw.wmnet, mwdebug2001.codfw.wmnet

Mentioned in SAL (#wikimedia-operations) [2023-03-13T07:32:23Z] <kartik@deploy2002> Finished scap: Backport for [[gerrit:897404|testwiki: Enable Section Translation on 11 Wikipedias (T327102 T326541)]] (duration: 17m 04s)

@UOzurumba You can go ahead with the community discussion for this task.

@UOzurumba You can go ahead with the community discussion for this task.

Okay, I will. Thank you.

Hi @UOzurumba! I'm here because of your message on no:Wikipedia:Notiser from earlier today.

In theory, I of course support deploying Section Translation to the Norwegian Bokmål Wikipedia; however, I am worried that some of the existing Norwegian-specific bugs from Content Translation would also impact Section Translation. The most important/visible bug is T322799, but there is also T95292 and possibly T122497 (no update on that one for ~7 years, I'm not sure it is still happening). I would appreciate it if Section Translation could be tested for those bugs – if they don't apply to SX, then great, but if they do, it would be good to fix them before deploying.

As I wrote @UOzurumba in fiwiki's discussion the couple days of discussion time is not enough for community discussions. However, the problems what Kyykaarme described in 2021 are still valid.

A couple of notes from translation. In this article, there were broken cite_journal references and I was not able directly to spot why ContentTranslation was not able to convert references successfully. In same article it also failed to convert infobox as an templete and generated html table from it.

Hi @UOzurumba! I'm here because of your message on no:Wikipedia:Notiser from earlier today.

In theory, I of course support deploying Section Translation to the Norwegian Bokmål Wikipedia; however, I am worried that some of the existing Norwegian-specific bugs from Content Translation would also impact Section Translation. The most important/visible bug is T322799, but there is also T95292 and possibly T122497 (no update on that one for ~7 years, I'm not sure it is still happening). I would appreciate it if Section Translation could be tested for those bugs – if they don't apply to SX, then great, but if they do, it would be good to fix them before deploying.

Thank you, @jhsoby for this information. It is noted and the Language team will look at the tickets.

KartikMistry renamed this task from Enable Content and Section translation on 10 Wikipedias to Enable Content and Section translation on 6 Wikipedias.Apr 18 2023, 8:29 AM
KartikMistry claimed this task.
KartikMistry updated Other Assignee, added: UOzurumba; removed: KartikMistry.
KartikMistry updated the task description. (Show Details)

I split this task to https://phabricator.wikimedia.org/T334915 for 4 Wikipedias where discussion is still going on or on hold.

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

[operations/mediawiki-config@master] Enable Content/Section translation on 6 Wikipedias

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

Change 909607 merged by jenkins-bot:

[operations/mediawiki-config@master] Enable Content/Section translation on 6 Wikipedias

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

Mentioned in SAL (#wikimedia-operations) [2023-04-19T07:03:33Z] <kartik@deploy2002> Started scap: Backport for [[gerrit:909607|Enable Content/Section translation on 6 Wikipedias (T327102)]]

Mentioned in SAL (#wikimedia-operations) [2023-04-19T07:05:06Z] <kartik@deploy2002> kartik: Backport for [[gerrit:909607|Enable Content/Section translation on 6 Wikipedias (T327102)]] synced to the testservers: mwdebug1001.eqiad.wmnet, mwdebug2002.codfw.wmnet, mwdebug1002.eqiad.wmnet, mwdebug2001.codfw.wmnet

Mentioned in SAL (#wikimedia-operations) [2023-04-19T07:13:07Z] <kartik@deploy2002> Finished scap: Backport for [[gerrit:909607|Enable Content/Section translation on 6 Wikipedias (T327102)]] (duration: 09m 33s)