Page MenuHomePhabricator

Long Wikidata search suggestions not readable
Open, Needs TriagePublic

Description

Steps to Reproduce:

  • Go to https://www.wikidata.org/
  • Type in the first letters of a stupidly long word like "Rindfleischetikettierungsüberwachungsaufgabenübertragungsgesetz" into the search box
  • The Wikidata item for this will appear in the search dropdown and its label and/or description will be truncated with an ellipsis because they overflow the width of the dropdown

Result: There is no way to tell the actual full label and description without clicking on the link.

This could easily be fixed with giving both label (css class "ui-entityselector-label") and description (css class "ui-entityselector-description") a title attribute so you can see the full title by mouseover.

Only a slight improvement but this can save quite some time when you are researching a lot of items.

Mouseover titles do not help mobile users, but https://m.wikidata.org/ uses a different search box anyways so that is not a big problem.

Nota bene: Wikipedia and other projects do not show this problem. On Wikipedia the search box is wider and titles are set. So this is specifically a problem with the Wikidata search.