- limit to only accept siteId and title as input - lookup by URL is a separate subtask
- validation of the siteId happens via existing GraphQL type SiteId
- create a use case that performs the lookup and returns an Item ID or null
- use existing SiteLinkLookup service
- the new lookup resolver will call the ItemResolver
Description
Description
Details
Details
- Other Assignee
- kimpham
Related Changes in Gerrit:
| Subject | Repo | Branch | Lines +/- | |
|---|---|---|---|---|
| GQL: Add itemBySitelink | mediawiki/extensions/Wikibase | master | +412 -13 |
| Status | Subtype | Assigned | Task | ||
|---|---|---|---|---|---|
| Resolved | Ifrahkhanyaree_WMDE | T413657 📌️ Build look up items by sitelink in GraphQL | |||
| Resolved | Silvan_WMDE | T420488 📌️ Look up items by sitelink |
Event Timeline
Comment Actions
Change #1254978 had a related patch set uploaded (by Silvan Heintze; author: Silvan Heintze):
[mediawiki/extensions/Wikibase@master] GQL: Add itemBySitelink happy path
Comment Actions
Change #1254978 merged by jenkins-bot:
[mediawiki/extensions/Wikibase@master] GQL: Add itemBySitelink