Page MenuHomePhabricator

Language code zh-classical is invalid
Open, Needs TriagePublicBUG REPORT

Description

Various Wikidata items (eg Niger) have labels in language zh-classical (as well as many other zh-* codes). This lang tag is invalid.

We should just use BCP 47 language code lzh for Literary Chinese / Classical Chinese.

Event Timeline

The correct code for Classical Chinese is lzh.

It looks like some of these have been added by a bot, e.g. https://www.wikidata.org/wiki/Special:Diff/1176117811 - it would be a good idea to ask the bot owner to clean up their mistakes.

I think otherwise this is covered by T44396 and T102533

Nikerabbit added a subscriber: Nikerabbit.

Can this be marked as a duplicate of one of those tasks?

I have recently moved all uses of the code "zh-classical" for labels/aliases and descriptions to use "lzh" instead, if this helps anyone.

@Mahir256 : see T30443 for a validation of the WD dump with rdf4j, and it still appears.

Winston_Sung renamed this task from lang zh-classical is invalid to Language code zh-classical is invalid.Jun 18 2023, 4:32 AM
Winston_Sung updated the task description. (Show Details)