-
Notifications
You must be signed in to change notification settings - Fork 1.3k
Nearby item descriptions not working in v2.5.0 (beta) #823
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Comments
Thanks for posting this. |
Does anyone still encounter this in the current master build? |
I still do. |
Thanks for the feedback @VojtechDostal . We'll try to work on this ASAP. |
I am unable to find a issue with item descriptions not showing up in general. Is the issue specific to this particular data point? Also the last change in the query was done in May itself ie during the hackathon. @VojtechDostal I tried to reproduce the issue by checking places around the item posted in the screenshot. Somehow that item doesn't show up in my list.
|
I think this problem is language-specific. If your language is English, you won't have problems. But my app loads in Czech and is unable to retrieve Czech descriptions even if they exist. Will explore the problem more in the morning. |
Please note that what is shown on the screenshot above as "description" is actually not the item's description, but the label of the class of which the item is an instance of. In this case it is "gymnasium", which has a Czech label, so there is still a problem. The Wikidata query gives the correct class label.
|
Thanks @nicolas-raoul for explanation. I did not know the description is based on P31. In that case it is clear that it's not just a language-specific problem. Look at @maskaravivek 's screenshot from yesterday. For example, the "Orlová (usedlost)" item (Q30067555) has a P31 "homestead" which should show in English. But instead it says "no description found". Why does it only work for "Pěvecká konzervatoř Praha" (Q12047866), which it correctly says is a secondary school based on instance? I don't know. |
Thanks @nicolas-raoul @nicolas-raoul. Lots of insights from your comments about this issue. Should help us fix the queries for all languages. |
Our query works (giving "usedlost") if the language is cs. So it is not the problem I was thinking about. There must be another problem. |
Errr... I think I might have solved this while working on Nearby uploads. It appears that we are calling The PR I submitted solves the problem for me. I had initially included it in my feature branch, but figured I should submit this to master now so people can test it and to prevent others from wasting further time on it (if my PR indeed works). Could anyone (especially those with a non-English phone language) help test and see? Thanks! |
Posting on behalf of @VojtechDostal who is unable to do so at the moment:
Item descriptions in Nearby Places do not work for him after the recent patch. For instance, this description used to be
instance of (P31)
(which admittedly isn't the best description, haha, but still) but now only says?
The text was updated successfully, but these errors were encountered: