Page MenuHomePhabricator

Inappropriate error message when search users don't provide a regular expression to insource
Closed, ResolvedPublic

Description

As a search user, I want to be able to know when I am not entering a proper regular expression so that I can correct my input

when I search insource:// i get An error has occurred while searching: We could not complete your search due to a temporary problem. Please try again later.

I should instead see something like insource expects a regular expression.

AC:

  • User should get an appropriate error message when they don't provide a regular expression to insource

Event Timeline

Restricted Application added a subscriber: Aklapper. · View Herald Transcript
MPhamWMF triaged this task as Medium priority.Jun 6 2022, 3:30 PM

Change 808018 had a related patch set uploaded (by EJoseph; author: EJoseph):

[mediawiki/extensions/CirrusSearch@master] Show warning when user does not provide a regular expression to insource

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

Change 808018 merged by jenkins-bot:

[mediawiki/extensions/CirrusSearch@master] Show warning when user does not provide a regular expression to insource

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