Nikki added a comment.
In T217430#5024866 <https://phabricator.wikimedia.org/T217430#5024866>, @Susannaanas wrote: > I cannot find their codes here: https://www.wikidata.org/wiki/Help:Wikimedia_language_codes/lists/all. Are these the ULS languages? That page is generated from the `P424` statements that users have added to Wikidata items. It doesn't say where the codes are used, so I think it's more confusing than helpful here. In T217430#5043168 <https://phabricator.wikimedia.org/T217430#5043168>, @Susannaanas wrote: > **Monolingual** Where can this be checked? > **Actual** (can it be used in monolingual properties) > **Actual** (is it available in Labels Unless something has changed recently: Being in langdb.yaml is not enough to make a language usable in Wikidata. The languages available for labels are: - all the languages from Names.php <https://phabricator.wikimedia.org/source/mediawiki/browse/master/languages/data/Names.php> - plus the languages in `wmgExtraLanguageNames` in InitialiseSettings.php <https://github.com/wikimedia/operations-mediawiki-config/blob/master/wmf-config/InitialiseSettings.php#L19242> (warning: large page) The easiest way to check whether a language can be used for labels (in my opinion) is to look at the language field on https://www.wikidata.org/wiki/Special:NewItem The languages available for monolingual text are: - all the languages available for labels (see above) - plus all the extra languages from this section of WikibaseContentLanguages.php <https://github.com/wikimedia/mediawiki-extensions-Wikibase/blob/master/lib/includes/WikibaseContentLanguages.php#L69> - excluding the languages from the next section in that file (direct link <https://github.com/wikimedia/mediawiki-extensions-Wikibase/blob/master/lib/includes/WikibaseContentLanguages.php#L131>) Only the languages which are in Names.php show up in the suggestions for monolingual text. The ticket for fixing that is T124758 <https://phabricator.wikimedia.org/T124758>. @jhsoby-WMNO: Should there be another subtask asking for `smn` and `sms` to be made available for labels? TASK DETAIL https://phabricator.wikimedia.org/T217430 EMAIL PREFERENCES https://phabricator.wikimedia.org/settings/panel/emailpreferences/ To: jhsoby-WMNO, Nikki Cc: Nikki, jhsoby-WMNO, jhsoby, Nikerabbit, Mbch331, Aklapper, Susannaanas, alaa_wmde, Nandana, Lahi, Gq86, GoranSMilovanovic, Jayprakash12345, QZanden, LawExplorer, _jensen, rosalieper, Srdjan_m, MuhammadShuaib, LNDDYL, Psychoslave, Wikidata-bugs, aude, Amire80, Gryllida, Shizhao, Arrbee, santhosh, KartikMistry, Jay8g
_______________________________________________ Wikidata-bugs mailing list Wikidata-bugs@lists.wikimedia.org https://lists.wikimedia.org/mailman/listinfo/wikidata-bugs