-
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
Wikidata field should autocomplete labels #5544
Comments
This would be particularly good when used for the Architect, Species/Animal, Operator, Network, Brand, Artist, Name Etymology and Subject fields. So when typing out, for example, in an architect field "Santiago Calatrava", a Wikidata dropdown menu would appear, and upon selection we'd automatically set |
I think people are generally in favor of the idea except for the "automatically" part 👍 |
@bhousel if we know that the fields |
Here’s an example Wikidata API query that would be kicked off after typing in “Junction City” when iD is set to the Vietnamese locale. Notice how the labels and descriptions are in English as a fallback. Note that this issue is specifically about the behavior of the existing |
#5500 implemented a Wikidata field that contains a plain text Identifier box for the QID of a Wikidata item. As a Wikidata contributor, I would find this field to be much more intuitive if it behaves like the claim text boxes on Wikidata. I think it would also be more intuitive to mappers who are unfamiliar with Wikidata and wouldn’t know how to come up with a QID on their own (since the Wikipedia field doesn’t automatically appear when you show the Wikidata field).
On Wikidata, you can type in a label and autocompletion suggestions appear, similar to the Wikipedia field’s title box:
But you can also paste in a QID and a matching item appears:
Either way, once you select the suggestion, the label ends up in the text box:
Even though Wikidata is built atop QIDs, the QIDs are treated like a machine-readable implementation detail and deemphasized as much as possible in UI.
So I’d suggest rearranging the Identifier, Label, and Description boxes, so that once you select an item, the Label box at the top contains the label, the read-only Description box follows, and the read-only Identifier box contains the QID at the bottom.
The text was updated successfully, but these errors were encountered: