adrianheine added a subscriber: adrianheine.
adrianheine added a comment.

Due to language fallbacks, this looks pretty good now 
(https://www.wikidata.org/wiki/Q2?uselang=xyzzy), but it still asks you to 
enter label, description and aliases in xyzzy.  
`EntityViewFactory::newEntityTermsView` could be replaced with an 
EntityTermsViewFactory that got the `ContentLanguages` for terms passed in and 
gets a `LanguageFallbackChain`, yielding an `EntityTermsView` in the first 
actually supported language in the fallback chain.

Or we could sanitize the language as early as possible, for example in 
`EntityParserOutputGeneratorFactory`. That would not fix this issue for 
languages which are allowed UI languages, but forbidden as content languages 
(de-formal for example).

Maybe we should do both.


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

REPLY HANDLER ACTIONS
  Reply to comment or attach files, or !close, !claim, !unsubscribe or !assign 
<username>.

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

To: adrianheine
Cc: adrianheine, Wikidata-bugs, GPHemsley, siebrand, jeblad, Nemo_bis, 
SPQRobin, Tobi_WMDE_SW, He7d3r, Denny, matej_suchanek, Lydia_Pintscher, 
Nikerabbit, hoo, aude, Gryllida, Shizhao, Arrbee



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

Reply via email to