Michael created this task. Michael added projects: wikidata-tech-focus, Wikidata-Campsite. Restricted Application added a subscriber: Aklapper. Restricted Application added a project: Wikidata.
TASK DESCRIPTION \ValueFormatters\FormatterOptions <https://github.com/DataValues/Interfaces/blob/1badbc2b890f862bfb17f16314dbca774c5a1e19/src/ValueFormatters/FormatterOptions.php> is a very generic Object that allegedly used to be used with a lot of options, but might now be used with only a few, among which: `ValueFormatter::OPT_LANG = 'lang'` and `FormatterLabelDescriptionLookupFactory::OPT_LANGUAGE_FALLBACK_CHAIN = 'languages'`. Since it is so very generic, it is hard for IDE's to give good coding assistance. It would be useful to understand better with which keys it is actually used. That knowledge could help us decide whether we can switch to some more strongly typed variant of it or if we can drop it in parts of our code in favor of passing the expected options explicitly. This investigation is in particular intended to help with understanding the usage of `\Wikibase\Lib\LanguageFallbackChain`. This is could be relevant for T250930 <https://phabricator.wikimedia.org/T250930>, T247057 <https://phabricator.wikimedia.org/T247057> and T256405 <https://phabricator.wikimedia.org/T256405>. This likely needs additional looking into the following Extensions: - Math - MathSearch - Score - WikibaseMediaInfo - Lexeme - WikibaseQualityConstraints - Maps - some more <https://codesearch.wmflabs.org/extensions/?q=FormatterOptions&i=nope&files=&repos=>? TASK DETAIL https://phabricator.wikimedia.org/T256407 EMAIL PREFERENCES https://phabricator.wikimedia.org/settings/panel/emailpreferences/ To: Michael Cc: Tarrow, Addshore, Aklapper, Michael, darthmon_wmde, Nandana, Lahi, Gq86, Pablo-WMDE, GoranSMilovanovic, QZanden, LawExplorer, _jensen, rosalieper, Scott_WUaS, Jonas, Wikidata-bugs, aude, Lydia_Pintscher, Mbch331
_______________________________________________ Wikidata-bugs mailing list Wikidata-bugs@lists.wikimedia.org https://lists.wikimedia.org/mailman/listinfo/wikidata-bugs