- Rename the interface from ItemStatementRetriever to StatementRetriever
- Create a EntityRevisionLookupStatementRetriever class that implements the newly renamed StatementRetriever
- Move the getStatement() method over from EntityRevisionLookupItemDataRetriever
- Note: EntityRevisionLookup works for all statement subjects (inc. Items and Properties)
Description
Description
Details
Details
Related Changes in Gerrit:
| Subject | Repo | Branch | Lines +/- | |
|---|---|---|---|---|
| REST: Make `ItemStatementRetriever` subject agnostic | mediawiki/extensions/Wikibase | master | +269 -96 |
| Status | Subtype | Assigned | Task | ||
|---|---|---|---|---|---|
| Resolved | Ifrahkhanyaree_WMDE | T338383 🐐️ Provide data of a statement on a property | |||
| Resolved | Ollie.Shotton_WMDE | T339136 🐐 Make `ItemStatementRetriever` subject agnostic |
Event Timeline
Comment Actions
Change 930566 had a related patch set uploaded (by Ollie Shotton; author: Ollie Shotton):
[mediawiki/extensions/Wikibase@master] REST: Make `ItemStatementRetriever` subject agnostic
Comment Actions
Change 930566 merged by jenkins-bot:
[mediawiki/extensions/Wikibase@master] REST: Make `ItemStatementRetriever` subject agnostic