"kr" is a macro code. There's a suggestion to move the current translations and Incubator content to a specific language, Central Kanuri ("knc"): https://translatewiki.net/w/i.php?title=Support&oldid=12203568
Draft plan, may change:
- Add knc to language-data (patch)
- Add knc to jquery.uls (patch)
- Add knc to ULS extension (patch)
- Add knc to ULS search index (patch)
- Add knc to Names.php (patch)
- Add knc to LocalNames in CLDR (patch)
- Deploy core MediaWiki with the new code on translatewiki
- Verify all the projects that have kr translations: https://translatewiki.net/wiki/Special:LanguageStats?language=kr&suppressempty=1&x=D
- Move all translations in all projects on translatewiki from kr to knc ( https://translatewiki.net/wiki/Renaming_language_codes )
- Verify correct functionality in translatewiki
- Verify all the projects that have kr translations: https://translatewiki.net/wiki/Special:LanguageStats?language=kr&suppressempty=1&x=D should be empty after purging
- Verify all the projects that have knc translations: https://translatewiki.net/wiki/Special:LanguageStats?language=knc&suppressempty=1&x=D should have the translations that were previously in kr
- Export all the projects from translatewiki to Gerrit, etc.
- Set translatewiki language portal for knc to "enabled".
- Set translatewiki language category for knc to "enabled".
- Prohibit translation into kr on translatewiki in mw-config/TranslateSettings.php (patch)
- Deploy translatewiki configuration with prohibited knc on translatewiki
- Set translatewiki language portal for kr to "disabled".
- Set translatewiki language category for kr to "disabled".
- Change kr to knc in translatewiki content wiki pages (if needed)
- Test https://translatewiki.net/wiki/Special:ActiveLanguages
- Deploy updated codes on Wikimedia sites (probably in the train)
- Verify correct knc functionality on the Incubator
- Remove data tagged as "kr" from Wikidata: delete it or move it to "knc".
- Maybe? (Under review!) Remove MessagesKr.php and add kr to DEPRECATED_LANGUAGE_CODE_MAPPING in core (patch)