Page MenuHomePhabricator

Remove duplicate langcodes for Timed Text
Open, Needs TriagePublic


Please remove the column dupe. Existing files should be moved to names with the correct codes.

langcodedupe# of files affected

If you would like to discuss locally, please go to .

Event Timeline

Roy17 unsubscribed.

I only know of these three. Please check for others.

These three are dupes because they are identical to the correct codes. The rest of zh-xx are not dupes because they can be used to distinguish regional variants of Standard Chinese.

The builder for creating pages uses Xml::languageSelector and Language::fetchLanguageNames( $language, 'all' );
I don't think we have a way to filter out the dupes from there right now...

Regardless, you can simply rename the TimedText files as you see fit. It doesn't care about the particular code used, as long as it is valid.

Related T10217: Wikipedias with zh-* language codes waiting to be renamed (zh-min-nan -> nan, zh-yue -> yue, zh-classical -> lzh)