Page MenuHomePhabricator

🦑 Extend query by item and property value to include getting all item data
Closed, ResolvedPublic8 Estimated Story Points

Description

Allowing users to get labels, descriptions and statements of a search entity all in one query would reduce the need for multiple queries and and function closer to how SPARQL behaves

AC:

  • When using the searchItems functionality in GraphQL, a user can get the description, aliases and statement values in addition to just labels (get everything that a user can get from a lookup)

Task breakdown notes:
Implementation:

  • the node field in ItemSearchResultEdge will be changed to type Item
  • in SearchItemsResolver use the ItemResolver (probably?) to fetch the whole item for each search result

Docs

  • update searchItems documentation to include a sentence saying that all item fields are available in search result nodes. Also add an example for getting a sitelink of all search results.

Event Timeline

Chatting w/ Silvan re: hackathon topics --> Also get sitelinks?

Ifrahkhanyaree_WMDE renamed this task from Extend query by item and property value to include getting statement values to Extend query by item and property value to include getting all item data.May 19 2026, 10:11 AM
Ifrahkhanyaree_WMDE updated the task description. (Show Details)
Ifrahkhanyaree_WMDE moved this task from To polish to Polished on the Wikibase Reuse Team board.
Jakob_WMDE set the point value for this task to 8.May 19 2026, 12:10 PM
Jakob_WMDE moved this task from Polished to Ready for planning on the Wikibase Reuse Team board.
Jakob_WMDE renamed this task from Extend query by item and property value to include getting all item data to 🦑 Extend query by item and property value to include getting all item data.May 27 2026, 12:47 PM

tried a few variations and everything looks great