Michael added a comment.

  In T268942#6983669 <https://phabricator.wikimedia.org/T268942#6983669>, 
@Sarai-WMDE wrote:
  
  > This looks good! After a first check I noticed a couple of things:
  >
  > - It would be nice to fix the WiKit component and make the info icon/button 
vertically centered with the QuantityInput label. In WiKit, this component is 
using a different suffix for some reason (we should replace it there with the 
right one), which didn't allow catching this detail before:
  >
  >   F34289766: Screenshot 2021-04-08 at 13.33.16.png 
<https://phabricator.wikimedia.org/F34289766>
  
  Could you create an new Ticket for that? It is something that we should fix, 
but it is somewhat detached from the functionality that is implemented here.
  
  > - I remember we talked about only displaying "real" units in the Quantity 
lookup. How feasible is that? Would we want to document that as a future 
improvement?
  
  I don't think that this is feasible and I also remember it different. In my 
memory we said we wanted explicitly allow all units, because: 1. that is what 
Wikidata does and 2. the world is complex. Afaik, it was a user that requested 
to only show real units. But I think @Lydia_Pintscher could confirm this either 
way.
  
  > - I found this case where an item was wrongly excluded from the results 
after the (right?) unit was specified. I thought this could be related to the 
fact that the omitted item's quantity value has a qualifier (in comparison to 
the items that kept being shown in the results), but trying other queries* 
refuted that hypotheses, so now I'm not sure what might be wrong, if anything.
  >
  >   To reproduce: If you query for the property "speed" and just indicate a 
matching value of "12", your results will retrieve – among others– the items 
Q479726 <https://www.wikidata.org/wiki/Q479726> and Q88008887 
<https://www.wikidata.org/wiki/Q88008887>. But the former item will not appear 
if I specify the unit "knot" (I tried selecting various knot units just in 
case) in my query. The only difference between these values is the use of 
qualifiers, therefore the inference.
  >
  >   *A similar case where the value having a qualifier doesn't prevent the 
item from appearting in the results: human painters that are 168 centimeters 
tall. The fact that Takeshi Kitano is included in the list refutes the 
qualifier hypothesis.
  
  Yes, that is strange, but probably needs some dedicated investigation. E.g. 
are we sure the used the correct item "knot" for the speed? Because there are a 
couple of other items with the label "knot" and I'm not sure how to get to the 
Q-ID of the unit to check.
  
  ---
  
  Also, I just noticed that quantity queries are broken with "regardless of 
value" selected. Will fix after my "lunch" break.

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

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

To: Michael
Cc: Sarai-WMDE, Charlie_WMDE, Michael, Aklapper, Lydia_Pintscher, Invadibot, 
maantietaja, Akuckartz, Nandana, Lahi, Gq86, GoranSMilovanovic, QZanden, 
LawExplorer, _jensen, rosalieper, Scott_WUaS, Wikidata-bugs, aude, Mbch331
_______________________________________________
Wikidata-bugs mailing list
[email protected]
https://lists.wikimedia.org/mailman/listinfo/wikidata-bugs

Reply via email to