Lucas_Werkmeister_WMDE added a comment.
In T217239#4988398 <https://phabricator.wikimedia.org/T217239#4988398>, @Anomie wrote: > A potential blocker to this is the same as for T74153 <https://phabricator.wikimedia.org/T74153> (under its original title, "meta=siteinfo should allow client to identify RTL languages"): actually collecting the fallbacks for //all// languages looks like it would require loading the language data for all languages, which seems likely to be prohibitive from a performance perspective. With a small patch to Wikibase’s `meta=contentlanguages` API, I’m able to get the fallbacks for all monolingual text languages (486 language codes, not all of them supported interface languages) or all term languages (442 language codes, equivalent to MediaWiki’s interface languages as far as I’m aware) in less than one second. I think this is already optimized somewhere in `LocalisationCache`. TASK DETAIL https://phabricator.wikimedia.org/T217239 EMAIL PREFERENCES https://phabricator.wikimedia.org/settings/panel/emailpreferences/ To: Lucas_Werkmeister_WMDE Cc: Mvolz, Anomie, Lucas_Werkmeister_WMDE, Pintoch, Aklapper, Nandana, Lahi, Gq86, Baloch007, GoranSMilovanovic, QZanden, LawExplorer, Sethakill, dg711, _jensen, rosalieper, MuhammadShuaib, LNDDYL, Psychoslave, Wikidata-bugs, aude, jayvdb, Arrbee, KartikMistry, Mbch331, Jay8g, Legoktm
_______________________________________________ Wikidata-bugs mailing list Wikidata-bugs@lists.wikimedia.org https://lists.wikimedia.org/mailman/listinfo/wikidata-bugs