Page MenuHomePhabricator

Improve the handling of the error about not finding a page when creating a Wikistory
Closed, ResolvedPublicBUG REPORT

Description

Steps to replicate the issue (include links if applicable):

  • On Beta cluster, navigate to a page that does not exist on Production, e.g. this page.
  • Create a Wikistory and start the process of adding text to the pages.
  • Click on any frame to select text from Wikipedia

What happens?:
There is a code-style error message displayed about not finding the page

What should have happened instead?:
There should be a user-friendly message that informs about the page not being available.

We can use following message - "Article text unavailable. Please try again later"

Software version (skip for WMF-hosted wikis like Wikipedia):

Other information (browser name/version, screenshots, etc.):

image.png (564×2 px, 362 KB)

Event Timeline

@EUdoh-WMF: Assuming this task is about the Wikistories code project, hence adding that project tag so other people who don't know or don't care about team tags can also find this task when searching via projects. Please set appropriate project tags when possible. Thanks!

SBisson triaged this task as Medium priority.Feb 6 2023, 10:20 PM

Change 892360 had a related patch set uploaded (by Huei Tan; author: Huei Tan):

[mediawiki/extensions/Wikistories@master] Handling error when no article found in builder

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

Change 892360 merged by jenkins-bot:

[mediawiki/extensions/Wikistories@master] Handling error when no article found in builder

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