Smalyshev added a comment.

I think in this case we shouldn't mess with the data. Rather, we'd have 
something like function bestLabel(item, languages) e.g. bestLabel(wd:Q123, 
'en', 'de', 'ru', 'es') which would try to find labels on any language but if 
not just return something like 'Q123'. The thing is not all queries even need 
labels... and for those that do it we can not predict what people would 
actually want there - simple lookup, hierarchy lookup, which languages, etc.

I think throwing out label data that we don't want is ok, but adding is not 
good as it may be confused with actual data.


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

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: Manybubbles, Smalyshev
Cc: Manybubbles, Aklapper, Smalyshev, jkroll, Wikidata-bugs, Jdouglas, aude, 
GWicke, daniel, JanZerebecki



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

Reply via email to