-
Notifications
You must be signed in to change notification settings - Fork 1.2k
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
Improve Wikidata field formatting #5566
Comments
See #5544 for additional improvements to the layout that would accommodate autocompletion. |
#4382 really contains my thoughts on this.. I'm in favor of making the field nicer, but I really want it to serve a purpose that's more than just "showing the user stuff from Wikidata". If we could define properties in Wikidata worth looking up, and give the user a simple way to copy that data over to the appropriate OSM tags ( Put another way, we should always ask ourselves "How does this feature help users edit OSM?". |
@bhousel, if I’m not mistaken, you’re reacting to the inclusion of the image from Wikidata, correct? I agree that we don’t necessarily want this field to scope-creep into a full-fledged Wikidata viewer. To me, displaying an image in this field would be distracting most of the time. Consider that the field is displayed even for features that the user has only hovered over or selected but hasn’t edited. The rationale for showing the image would be to help the user better differentiate between similarly labeled Wikidata items, so why not show it only at the moment when the user is trying to choose a Wikidata item? #5544 would introduce an autocomplete popup. That popup would be a more appropriate place for images, if desired. UIs that autocomplete Wikipedia article titles (such as the search bar at wikipedia.org) often do display an image. I think an image in the autocomplete popup would help mappers who aren’t as familiar with Wikipedia and Wikidata naming conventions. We don’t want people putting in disambiguation pages, after all: #4414. #5544 would probably necessitate some of the other reshuffling that @nyurik suggests, since we’d make it so that the label is what the user interacts with, rather than the QID. |
I propose we improve the format of the Wikibase field. Several variants (with HTML):
Notes:
P.S. For even cleaner implementation, I would actually advise removing the extra line all together for these cases - makes interface much more compact while still being clean and functional. This would work only in cases when the tag value is known to be narrow, e.g. Wikidata ID:
cc: @bhousel @quincylvania
The text was updated successfully, but these errors were encountered: