Page MenuHomePhabricator

Unclear error message when a talk page is deleted while you're writing a reply on it
Closed, ResolvedPublic

Description

When a talk page is deleted (or moved without creating a redirect) while you're writing a reply on it, you get the following error message: "Could not find latest revision for title" (apierror-visualeditor-latestnotfound).

image.png (2×3 px, 342 KB)

(noticed in the logs on T270346)

Event Timeline

Rather than try to invent a completely new error message that would explain this very rare situation, I suggest that we simply use the existing message that appears when the individual comment you're replying to is deleted: "Could not find the comment you're replying to on the page. It might have been deleted or moved to another page. Please reload the page and try again." (discussiontools-error-comment-disappeared).

Change 659014 had a related patch set uploaded (by Bartosz Dziewoński; owner: Bartosz Dziewoński):
[mediawiki/extensions/DiscussionTools@master] New error message when the page doesn't exist

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

Change 659014 merged by jenkins-bot:
[mediawiki/extensions/DiscussionTools@master] New error message when the page doesn't exist

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