Page MenuHomePhabricator

Complete enablement Section Translation in new wikis and make the process less manual for the future
Open, In Progress, MediumPublic

Description

In the past months Wikipedias have been created for Dusun Bundu-liwan (dtp), and Batak Mandailing (btm). As part of automatic processes, Content and Section Translation have been enabled for those new wikis. However, the final manual steps for enabling Section Translation are still missing.

Despite previous attempts to automate the process (T298235), the final enablements still depend on human creation of tickets like T366003 or this one. Currently, accessing Section Translation for Dusun Bundu-liwan (dtp), and Batak Mandailing (btm) redirect users to the "ace" language code since the new language codes seem not to be registered.

This ticket proposes to expand the current processes to generate the tickets for the manual tasks that are needed when a new Wikipedia is created. In particular, @Maintenance_bot is creating this kind of tickets for each new wiki that is created:

A sub-task for completing the enablement of Section Translation should be created automatically as part of those.

We may want to fix the specific cases of Dusun Bundu-liwan (dtp), and Batak Mandailing (btm), but the main goal of this ticket is that the next time a wiki is create noone else has to go through the manual process of creating a ticket like this again.

Event Timeline

Pginer-WMF triaged this task as Medium priority.Jul 30 2024, 6:48 PM

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

[operations/mediawiki-config@master] Enable Section Translation in btm/dtp Wikpedias

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

Meanwhile Wikipedia in Bajau Sama (bdr) has been created too.

Meanwhile Wikipedia in Bajau Sama (bdr) has been created too.

Thanks. Added!

Change #1067898 merged by jenkins-bot:

[operations/mediawiki-config@master] Enable Section Translation in bdr, btm, and dtp Wikpedias

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

Mentioned in SAL (#wikimedia-operations) [2024-09-02T07:36:06Z] <kartik@deploy1003> Started scap sync-world: Backport for [[gerrit:1067898|Enable Section Translation in bdr, btm, and dtp Wikpedias (T371420)]]

Mentioned in SAL (#wikimedia-operations) [2024-09-02T07:38:49Z] <kartik@deploy1003> kartik: Backport for [[gerrit:1067898|Enable Section Translation in bdr, btm, and dtp Wikpedias (T371420)]] synced to the testservers (https://wikitech.wikimedia.org/wiki/Mwdebug)

Mentioned in SAL (#wikimedia-operations) [2024-09-02T07:43:42Z] <kartik@deploy1003> Finished scap sync-world: Backport for [[gerrit:1067898|Enable Section Translation in bdr, btm, and dtp Wikpedias (T371420)]] (duration: 07m 35s)

Here are some updates on creating an automatic checklist about adding entries for the Section Translation target Wiki in the new wiki creation process:

Challenge:

  • Section Translation uses language code, not Wikipedia code, which might be confusing for some Wikipedias.
  • Parsing an array is a little difficult, but we can make it simple without sorting it alphabetically.

While work progresses in this front some new wikis were created for which we may still need to follow the manual process:

  1. Pannonian Rusyn (rsk)
  2. Obolo (ann)
  3. Jaku Iban (iba)
  4. isiNdebele seSewula (nr)
  5. Tai Nuea (tdd)

@KartikMistry can you check CX is enabled by default, and complete the necessary steps to have SX active there too?

rsk - already done in https://gerrit.wikimedia.org/r/c/operations/mediawiki-config/+/1076559
ann - the wiki-setup bot malfunctioned here and didn't add it to langlist. I added it to langlist in https://gerrit.wikimedia.org/r/c/mediawiki/services/cxserver/+/1082861, but that doesn't seem to have been deployed yet
iba - ordinary CX seems to work but Section Translation hasn't been activated there
nr - same as ann
tdd - same as iba

I have a patch at https://gerrit.wikimedia.org/r/c/operations/mediawiki-config/+/1084932 to add section translation for the new wikis but I've been waiting for ordinary CX to work for nr/ann first since if I were to schedule it for deployment now I wouldn't be able to test that the patch did what it should for those wikis.

I have a patch at https://gerrit.wikimedia.org/r/c/operations/mediawiki-config/+/1084932 to add section translation for the new wikis but I've been waiting for ordinary CX to work for nr/ann first since if I were to schedule it for deployment now I wouldn't be able to test that the patch did what it should for those wikis.

I'm deploying cxserver for ann/nr addition, you can go ahead with mw-config patch later today.

timezones ...

It's almost midnight where I live now. I definitely won't be able to schedule that for deployment until the Thursday UTC late backport window, and no promises of that. Anyone else is welcome to deploy it earlier but I won't be there to test.

I can probably go ahead with a separate patch for Section Translation. You can then rebase your patch (which includes other changes).

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

[operations/mediawiki-config@master] Enable Section Translation in ann, iba, nr and, tdd Wikipedias

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

Change #1088215 merged by jenkins-bot:

[operations/mediawiki-config@master] Enable Section Translation in ann, iba, nr and, tdd Wikipedias

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

Mentioned in SAL (#wikimedia-operations) [2024-11-07T14:03:48Z] <kartik@deploy2002> Started scap sync-world: Backport for [[gerrit:1088215|Enable Section Translation in ann, iba, nr and, tdd Wikipedias (T371420)]]

Mentioned in SAL (#wikimedia-operations) [2024-11-07T14:06:25Z] <kartik@deploy2002> kartik: Backport for [[gerrit:1088215|Enable Section Translation in ann, iba, nr and, tdd Wikipedias (T371420)]] synced to the testservers (https://wikitech.wikimedia.org/wiki/Mwdebug)

Mentioned in SAL (#wikimedia-operations) [2024-11-07T14:13:56Z] <kartik@deploy2002> Finished scap sync-world: Backport for [[gerrit:1088215|Enable Section Translation in ann, iba, nr and, tdd Wikipedias (T371420)]] (duration: 10m 08s)

Nikerabbit added a subscriber: KartikMistry.

Was this done in https://gerrit.wikimedia.org/r/c/operations/mediawiki-config/+/1130169? It seems like the list of languages that was previously being added to with each new wiki creation no longer exists.

DANISHAHMED111 raised the priority of this task from Medium to Unbreak Now!.
DANISHAHMED111 lowered the priority of this task from Unbreak Now! to High.
DANISHAHMED111 set Due Date to Jun 8 2025, 8:30 PM.
DANISHAHMED111 set the point value for this task to 100.
JJMC89 lowered the priority of this task from High to Medium.
JJMC89 removed the point value 100 for this task.
JJMC89 removed Due Date which was set to Jun 8 2025, 8:30 PM.
JJMC89 edited subscribers, added: KartikMistry, Pppery, Aklapper, Pginer-WMF; removed: DANISHAHMED111.

That change was partially reverted. SectionTranslationTargetLanguages is still in use but for reduced scope for some entry points. Hopefully this can be converted to something that is enabled by default and disabled where needed.