Page MenuHomePhabricator

[MEX] M3.1.2 - error handling while publishing/saving statement edits
Closed, ResolvedPublic

Description

For the current success and error messages created in T404696 we will update the messages:

Generic error: "Something went wrong saving your changes. Wait a moment and try again."

Success: "Your changes have been saved."

And create a new state:

Taking too long: "Finalizing 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

Open questions
What does "too long" mean? When is that message triggered?

Details

Event Timeline

Hi! is there a list of all possible errors and the respective messages? This would be super helpful!

Not really, there’s a lot of different possible errors and it depends on which extensions are installed and how the wiki is configured. But some common examples are shown in T235154, T244361, and T306789.

hello @karapayneWMDE and @LucasWerkmeister,

If i understood correctly, for this first go we aim to have a nice but generic error message that covers all cases - and in the future we will dive into the rabbit hole of every each one fail/error message.

i will contact the copy person to give us that generic error message and as soon as i have it i will add it to the ticket. is this OK?

Open questions
What does "too long" mean? When is that message triggered?

This was defined in the loading spinner ticket, that i cannot find right now, both elements (loading spinner and message) appear at the same time.

According to my notes, 300 milliseconds after no reply from server.

ps. i got that value from online research but i tested it now and it seems.... short! i think 1 or 2 seconds would be better. WDYT @Arian_Bozorg

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

[mediawiki/extensions/Wikibase@master] Update messages for statement editing

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

Change #1197227 merged by jenkins-bot:

[mediawiki/extensions/Wikibase@master] Update messages for statement editing

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