This task is about removing data tagged as kr from Wikidata: deleting it or moving it to knc. Part of T356144.
For this task, use of @Amire80's script Wikidata language code cleanup is needed: https://gitlab.wikimedia.org/amire80/scriptology/-/tree/main/cleanup-wikidata-language-code.
This Python script automates the cleanup of deprecated language codes (e.g. kr) from Wikidata items. It deletes or moves labels, descriptions, and aliases based on comparisons with fallback and related languages. The script uses the Pywikibot framework to process each item and logs cases it skips due to data inconsistencies or ambiguity to a CSV file for manual review.