Lucie added a comment.

We will have to decide first, what should happen if there is no label in the 
language.
For the labelRenderer mw.wikibase.label is used. It should make use of the 
fallback chain. 
It doesn't make much sense to display the entity id if there is no label, I 
assume. It would be pretty confusing to see an id without context.

So should we in case of the data not being translated just "hide" it by not 
displaying it? I guess this is the only option we have, but will be very messy 
when it comes to limiting results as in 
https://phabricator.wikimedia.org/T117556 because the number of statements 
existing might then differ from the number of statements we are actually 
showing.

As a quick fix, I will make a patch to display the entity id, so it can be 
tested properly. But as mentioned before, I don't think that's the way we want 
to display it in the end. (Therefore, the patch shouldn't be merged, too.)


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

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

To: Lucie
Cc: Aklapper, hoo, Wikidata-bugs, aude, Ricordisamoa, Mbch331



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

Reply via email to