hoo added a comment.

  I just investigated this a little:
  
  We only use `LanguageFallbackChainFactory::FALLBACK_SELF | 
LanguageFallbackChainFactory::FALLBACK_VARIANTS` in all places, except for 
`mw.wikibase.getEntity():formatPropertyValues( … )` where we use the default 
(the default is fallback to all fallback languages) (by omitting the field in 
the FormatterOptions passed to it in 
`Scribunto_LuaWikibaseEntityLibrary::newImplementation`). I presume this 
happened by accident.
  
  Next steps:
  
  - Use `LanguageFallbackChainFactory::FALLBACK_ALL` for everything (in Lua/ 
the parser function), but create a setting to disable that.
  - Switch `Scribunto_LuaWikibaseEntityLibrary::newImplementation` to not use 
the default, but explicitly supply the fallback chain to use.

TASK DETAIL
  https://phabricator.wikimedia.org/T76218

EMAIL PREFERENCES
  https://phabricator.wikimedia.org/settings/panel/emailpreferences/

To: hoo
Cc: Lucie, hoo, Ainali, Aklapper, Bugreporter, Ricordisamoa, Wikidata-bugs, 
aude, Liuxinyu970226, Lydia_Pintscher, D3r1ck01, Izno, Mbch331



_______________________________________________
Wikidata-bugs mailing list
[email protected]
https://lists.wikimedia.org/mailman/listinfo/wikidata-bugs

Reply via email to