Page MenuHomePhabricator

🟥️ Create RemoveItemStatement use case and implement happy path
Closed, ResolvedPublic

Description

  • create a new RemoveItemStatement use case, including RemoveItemStatementRequest
  • retrieve Item metadata
  • remove the statement
    • use ItemRetriever, remove the statement, then save using MediaWikiEditEntityFactoryItemUpdater
    • create a RemoveItemStatementSuccessResponse and return it

Event Timeline

Change 812823 had a related patch set uploaded (by Ollie Shotton; author: Ollie Shotton):

[mediawiki/extensions/Wikibase@master] REST: Create RemoveItemStatement use case

https://gerrit.wikimedia.org/r/812823

Change 812823 merged by jenkins-bot:

[mediawiki/extensions/Wikibase@master] REST: Create RemoveItemStatement use case

https://gerrit.wikimedia.org/r/812823

@Ollie.Shotton_WMDE: Assuming this task is resolved. Thus setting resolved task status. Please reopen and add an active project tag if that is not the case. Thanks.