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.
- Add ks to language-data. Redirect ks-arab to ks. ks-deva should remain separate.
- Add ks to jquery.uls. Redirect ks-arab to ks. ks-deva should remain separate.
- Add ks to ULS extension. Redirect ks-arab to ks. ks-deva should remain separate.
- Add ks to ULS search index. TODO: Not needed
- Add ks to Names.php in MediaWiki Core
- Add ks to LocalNames in CLDR
- Deploy core MediaWiki with the new code on translatewiki
- Check current translations on translatewiki:
- Move all translations in all projects on translatewiki from ks-arab to ks ( https://translatewiki.net/wiki/Renaming_language_codes)
- Verify correct functionality in translatewiki:
- Verify all the projects that have ks-arab translations: https://translatewiki.net/wiki/Special:LanguageStats?language=ks-arab&suppressempty=1&x=D should be empty after purging
- Verify all the projects that have ks-deva https://translatewiki.net/wiki/Special:LanguageStats?language=ks-deva&suppressempty=1&x=D should stay as is
- Verify all the projects that have ks translations https://translatewiki.net/wiki/Special:LanguageStats?language=ks&suppressempty=1&x=D should have the translations that were previously in ks-arab
- Export all the projects from translatewiki to Gerrit, etc.
- Set translatewiki language portal for ks to enabled https://translatewiki.net/wiki/Portal:Ks. Redirect Translation tool and Recent Changes from ks-arab to ks
- Set translatewiki language category for ks to enabled.
- Prohibit translation into ks-arab on translatewiki in mw-config/TranslateSettings.php
- Deploy translatewiki configuration with prohibited ks-arab on translatewiki
- Test https://translatewiki.net/wiki/Special:ActiveLanguages
- Deploy updated codes on Wikimedia sites (probably in the train)
- Remove data tagged as ks-arab from Wikidata: delete it or move it to ks. Perhaps check with @Iflaq and others if we can proceed with this.
- Maybe? (Under review!) Remove MessagesKs_arab.php, MessagesKs_deva.php and add ks-arab and ks-deva to DEPRECATED_LANGUAGE_CODE_MAPPING in core