Page MenuHomePhabricator

Norwegian language code "no" is not supported (mw.language.isSupportedLanguage)
Closed, InvalidPublic

Description

= mw.language.isSupportedLanguage('no')
false

= mw.language.isKnownLanguageTag('no')
true

Which should be wrong, as someone mentioned on Commons: https://commons.wikimedia.org/wiki/Module_talk:LangSwitch.

It seems 'no' is only a dummy alias for 'nb', which seems very strange, as 'nb' is only a individuell code.

See also:
T102533: [Bug] Disallow (or resolve) dummy language codes.
T102295: [Bug] Language fallback seems to apply even when not requested

Event Timeline

Restricted Application added subscribers: jeblad, Danmichaelo, jhsoby, Aklapper. · View Herald TranscriptFeb 25 2019, 12:51 PM
Perhelion updated the task description. (Show Details)
Perhelion updated the task description. (Show Details)Feb 25 2019, 1:25 PM
Perhelion updated the task description. (Show Details)
Perhelion closed this task as Invalid.Feb 25 2019, 1:49 PM