thiemowmde added a comment.
T259744#6364309 <https://phabricator.wikimedia.org/T259744#6364309> mentions the patch that changed the behavior of the factory. It's now possible that language chains can be empty when the interface language is not a valid term language. There are a few language codes that are intentionally excluded from being term languages, e.g. "en-simple". One possible fix is to make sure all these invalid term languages fall back to a valid one when FALLBACK_SELF (or FALLBACK_ALL) is specified. For example, "en-simple" falls back to "en". At the moment, this exclude-list is hard-coded in WikibaseContentLanguages <https://phabricator.wikimedia.org/diffusion/EWBA/browse/master/lib/includes/WikibaseContentLanguages.php$169>. Fallbacks are available via core, e.g. the official fallback for "de-formal" <https://phabricator.wikimedia.org/source/mediawiki/browse/master/languages/messages/MessagesDe_formal.php> is "de". TASK DETAIL https://phabricator.wikimedia.org/T259779 EMAIL PREFERENCES https://phabricator.wikimedia.org/settings/panel/emailpreferences/ To: thiemowmde Cc: Aklapper, hoo, liangent, brennen, Ammarpad, Umherirrender, Michael, Cparle, thiemowmde, Akuckartz, darthmon_wmde, Nandana, Lahi, Gq86, Pablo-WMDE, GoranSMilovanovic, QZanden, LawExplorer, _jensen, rosalieper, Scott_WUaS, Wikidata-bugs, aude, Ricordisamoa, Jdforrester-WMF, Mbch331, Rxy, Jay8g, Krenair
_______________________________________________ Wikidata-bugs mailing list [email protected] https://lists.wikimedia.org/mailman/listinfo/wikidata-bugs
