Originally reported at https://meta.wikimedia.org/wiki/Meta:Babel#Broken_Babel_templates_for_Mandarin_Chinese_%28cmn%29
{{#babel:cmn}} results in the same as {{#babel:en}}
{{#language:cmn}} just returns "cmn", rather than the language name (same behaviour if "foo" is used)
Unlike other variants of Chinese, cmn doesn't appear as an option to change the page language (not sure if it used to though)
Note sure what the relevant extension or component is.