Page MenuHomePhabricator

Merge ks-Arab and ks-Deva to ks
Open, MediumPublic3 Estimated Story PointsBUG REPORT

Description

We want to use only "ks" code for for interface on Kashmiri language. There is a related discussion on the Kashmiri Wikipedia about this task at Technical Village Pump, where users have supported the request.

Event Timeline

There are a very large number of changes, so older changes are hidden. Show Older Changes

@Nikerabbit I made a few more minor changes to the related patches based on your comment and review from @Winston_Sung.

Patch in Translatewiki:

  • Add fallback language for ks in FallbackSettings.php
  • Disable translations for ks-arab and enable for ks in TranslateSettings.php

Patch in core:

  • ks-arab fallbacks to ks and vice versa in Messages file
  • Deleted MessagesKs_deva.php

For any remaining todos for these patches, could you leave a comment directly on the patches? Also, I am trying hard to get my head around the renaming language codes process, particularly how to set up the tools used to run the scripts and in which repositories. Is this something that someone else can help with? Or link to alternative documentation with more instructions?

Winston_Sung renamed this task from Merge Ks-Arab and Ks-Deva to ks to Merge ks-Arab and ks-Deva to ks.Aug 18 2023, 8:39 AM

For renaming translation subpages, we need to solve the caching issues that appeared after using ReplaceText.

It is documented in https://translatewiki.net/wiki/Renaming_language_codes but it's unknown if it works right now.

Plus monolingual text statements (in both Wikidata and Commons), lexemes (in Wikidata) and captions (in Commons).

Removing the autonyms from Names.php will also break uses of ks-arab/ks-deva in the {{#language}} parser function and in users' Babel boxes.

Tajamul9 renamed this task from Merge ks-Arab and ks-Deva to ks to Merge ks and ks-Deva to ks-arab(kashmiri-arabic script).Dec 16 2023, 12:52 PM
Tajamul9 updated the task description. (Show Details)
Kashmiri renamed this task from Merge ks and ks-Deva to ks-arab(kashmiri-arabic script) to Merge ks-Arab and ks-Deva to ks.Dec 16 2023, 1:03 PM
Kashmiri updated the task description. (Show Details)
Amire80 updated the task description. (Show Details)
Winston_Sung changed the task status from In Progress to Open.Feb 13 2024, 7:36 PM
Amire80 updated the task description. (Show Details)
MaryMunyoki added a subscriber: Amire80.
srishakatux raised the priority of this task from Medium to High.
srishakatux updated the task description. (Show Details)

Updated task description based on suggestions from @Amire80

Change #1143235 had a related patch set uploaded (by Srishakatux; author: Srishakatux):

[mediawiki/extensions/cldr@master] Add `ks` to LocalNames in CLDR

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

Change #1146453 had a related patch set uploaded (by Nikerabbit; author: Srishakatux):

[mediawiki/extensions/UniversalLanguageSelector@master] Update `jquery.uls` from upstream

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

Change #1146453 merged by jenkins-bot:

[mediawiki/extensions/UniversalLanguageSelector@master] Update `jquery.uls` from upstream

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

Change #1143235 abandoned by Srishakatux:

[mediawiki/extensions/cldr@master] Add `ks` to LocalNames in CLDR

Reason:

Based on Amir's comment offline this patch is not needed

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

srishakatux lowered the priority of this task from High to Medium.

Change #948987 merged by jenkins-bot:

[mediawiki/core@master] Merge two Kashmiri language codes, ks-arab, ks-deva to ks

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

Change #948712 abandoned by Srishakatux:

[translatewiki@master] WIP Disable language code ks-arab and enable ks

Reason:

Related patch merged https://gerrit.wikimedia.org/r/c/translatewiki/+/1153152

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