Page MenuHomePhabricator

🟥️ Create RemoveStatementRouteHandler
Closed, ResolvedPublic

Description

  • get parameters and create RemoveItemStatementRequest
  • execute the use case
  • handle use case responses (success/redirect/error)
  • return HTTP response
  • unexpected error handling
  • edit service wiring and route files
  • create e2e-tests

Event Timeline

Silvan_WMDE renamed this task from Create RemoveStatementRouteHandler to 🟥️ Create RemoveStatementRouteHandler .Jul 7 2022, 2:29 PM
Silvan_WMDE created this task.

Change 816117 had a related patch set uploaded (by Silvan Heintze; author: Silvan Heintze):

[mediawiki/extensions/Wikibase@master] REST: Create RemoveStatementRouteHandler

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

Change 816820 had a related patch set uploaded (by Silvan Heintze; author: Silvan Heintze):

[mediawiki/extensions/Wikibase@master] REST: Add BodyValidator to handle empty requests

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

Change 816821 had a related patch set uploaded (by Silvan Heintze; author: Silvan Heintze):

[mediawiki/extensions/Wikibase@master] REST: Allow DELETE requests with empty json body

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

Change 816821 abandoned by Silvan Heintze:

[mediawiki/extensions/Wikibase@master] REST: Allow DELETE requests with empty json body

Reason:

squashed into I251287951bfad23416b92dc8fefe04321c2d9727

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

Change 816117 merged by jenkins-bot:

[mediawiki/extensions/Wikibase@master] REST: Create RemoveStatementRouteHandler

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

Change 816820 abandoned by Silvan Heintze:

[mediawiki/extensions/Wikibase@master] REST: Allow DELETE requests with an empty json body

Reason:

Empty bodies are not valid json

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

Change 817803 had a related patch set uploaded (by Silvan Heintze; author: Silvan Heintze):

[mediawiki/extensions/Wikibase@master] Improve RemoveStatementRouteHandler

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

Change 817803 had a related patch set uploaded (by Silvan Heintze; author: Silvan Heintze):

This remains in Peer Review since patch 817803 is still to be reviewed.

Change 817803 merged by jenkins-bot:

[mediawiki/extensions/Wikibase@master] REST: Improve RemoveStatementRouteHandler

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

@Silvan_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.