Page MenuHomePhabricator

[MEX] M3 - Create error handling when an error occurs on Wikidata's backend
Closed, ResolvedPublic

Description

For the current error messages created in T403011 we will need to make sure that the message appears whenever an editor clicks the publish button but doesn't go through.

Generic error: "Something went wrong saving your changes."

Screenshot 2025-09-26 at 13.53.07.png (1×2 px, 168 KB)

Figma file for error handling

Notes
Translations are not included in this task.
We will have more specific error handling in the future, but will reamain as generic messages for now.

Acceptance Criteria

  • Error messages appear when an editor clicks the publish button but doesn't go through because of an error on Wikidata's side.
  • The error message should cover any errors that is preventing the saving publishing during the editing process.

Event Timeline

Change #1206865 had a related patch set uploaded (by Arthur taylor; author: Arthur taylor):

[mediawiki/extensions/Wikibase@master] Clear timeouts on progress bar

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

Change #1207821 had a related patch set uploaded (by Arthur taylor; author: Arthur taylor):

[mediawiki/extensions/Wikibase@master] Refactor addStatement/editStatement to use common mixin

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

Change #1206865 merged by jenkins-bot:

[mediawiki/extensions/Wikibase@master] Clear timeouts on progress bar

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

Change #1207821 merged by jenkins-bot:

[mediawiki/extensions/Wikibase@master] Refactor addStatement/editStatement to use common mixin

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