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 [[https://ks.wikipedia.org/wiki/%D9%88%D9%90%DA%A9%DB%8C%D9%96%D9%BE%DB%8C%D9%96%DA%88%DB%8C%D8%A7:%D8%A7%D8%A0%D8%B3%D9%8E%D9%85%D8%A8%D9%8E%D9%84%DB%8C_(%D8%AA%D9%8E%DA%A9%D9%86%DB%8C%D9%96%DA%A9%DB%8C) | Technical Village Pump]], where users have supported the request.
[ ] Check where 'ks-arab',] Add `ks` to language-data. 'ks-deva',Redirect `ks-arab` to `ks`. 'ks' is used (probably on codesearch)`ks-deva` should remain separate.
[] Add `ks` to jquery.uls. Redirect `ks-arab` to `ks`. ] Check current translations on translatewiki:`ks-deva` should remain separate.
-- [ ] https://translatewiki.net/wiki/Special:LanguageStats?language=ks-arab&suppressempty=1&x=D[] Add `ks` to ULS extension. Redirect `ks-arab` to `ks`. `ks-deva` should remain separate.
-- [ ] https://translatewiki.net/wiki/Special:LanguageStats?language=ks-deva&suppressempty=1&x=D[] Add `ks` to ULS search index
[] Add `ks` to Names.php in MediaWiki Core
-- [ ] https://translatewiki.net/wiki/Special:LanguageStats?language=ks&suppressempty=1&x=D[] Redirect `ks-arab` to `ks` in core for backwards compatibility ([[ https://gerrit.wikimedia.org/r/c/mediawiki/core/+/948987 | patch ]])
[ ] Remove unnecessary ks-deva data from Wikidata] Redirect `ks-deva` to `ks` in core for backwards compatibility ([[ https://gerrit.wikimedia.org/r/c/mediawiki/core/+/948987 | patch ]])
[ ] Move ] Declare `ks-arab to ks` as deprecated in Names.phpcore RELEASE_NOTES ([[ https://gerrit.wikimedia.org/r/c/mediawiki/core/+/948987 | patch ]])
[ ] Declare ks-deva as deprecated ([[ https://gerrit.wikim] Add `ks` to LocalNames in CLDR
[] Deploy core Media.org/r/c/mediawiki/core/+/948987 | patch ]])Wiki with the new code on translatewiki
[ ] Redirect ks-arab to ks for backwards compatibility ([[ https://gerrit.wikimedia.org/r/c/media] Check current translations on translatewiki/core/+/948987 | patch ]]):
[ ] Define ks-deva and ks-arab as extra languages on translatewiki ([[ https://gerrit.wikimedia.org/r/c/translatewiki/+/948712 | patch ]]) [] https://translatewiki.net/wiki/Special:LanguageStats?language=ks-arab&suppressempty=1&x=D
[ ] Move MediaWiki translations on translatewiki from ks-arab to ks [] https://translatewiki.net/wiki/Special:LanguageStats?language=ks-deva&suppressempty=1&x=D
[ ] Check [] https://translations after moving on translatewiki:ewiki.net/wiki/Special:LanguageStats?language=ks&suppressempty=1&x=D
-- [ ] https://translatewiki.net/wiki/Special:LanguageStats?language=ks-arab&suppressempty=1&x=D[] Move all translations in all projects on translatewiki from `ks-arab` to `ks` ( https://translatewiki.net/wiki/Renaming_language_codes)
-- [ ] https://translatewiki.net/wiki/Special:LanguageStats?language=ks-deva&suppressempty=1&x=D[] 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
[ ] Decide what to do about ks-arab translations in other projects on translatewiki [] 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
[ ] Deploy updated codes in translatewiki [] 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, ] Verify correct functionality in translatewikietc.
[] Set translatewiki language portal for `ks` to enabled https://translatewiki.net/wiki/Portal:Ks. ] Deploy updated codes on Wikimedia sitesRedirect Translation tool and Recent Changes from `ks-arab` to `ks`
[] Set translatewiki language category for `ks` to enabled.
[ ] Make sure that ks sites use the correct language code] Prohibit translation into `ks-deva` and `ks-arab` on translatewiki in their `mw-configuration:/TranslateSettings.php`
-- [ ] Wikipedia[] Deploy translatewiki configuration with prohibited `ks-arab` and `ks-deva` on translatewiki
-- [ ] Wiktionary[] Test https://translatewiki.net/wiki/Special:ActiveLanguages
[] Test https://translatewiki.net/wiki/Special:ActiveLanguages/ks-arab
[] Test https://translatewiki.net/wiki/Special:ActiveLanguages/ks-deva
[] Test https://translatewiki.net/wiki/Special:ActiveLanguages/ks
-- [ ] Wikibooks (closed, but online[] Deploy updated codes on Wikimedia sites (probably in the train)
-- [ ][] Remove data tagged as `ks-arab` from Wikiquote (closed,data: delete it or move it to `ks`. but online)Perhaps check with @Iflaq and others if we can proceed with this.
[ ] Verify correct functionality on Wikimedia sites
Further future:
[ ] Remove ks-deva from Names.php
[ ] Remove ks-deva (and maybe ks-arab) from LanguageConverterFactoryTest.php
[ ] If it's not used by any projects on translatewiki, remove ks-arab from translatewiki configuration] Maybe? (Under review!) Remove MessagesKs_arab.php, MessagesKs_deva.php and add `ks-arab` and `ks-deva` to DEPRECATED_LANGUAGE_CODE_MAPPING in core