Page MenuHomePhabricator

Error message should display when content in search field is in an unacceptable format
Closed, ResolvedPublic


As per the mockup, it's confusing if there is no error message to direct a contributor to input their website correctly.

errormessage.png (732×442 px, 93 KB)

Event Timeline

Change 523170 had a related patch set uploaded (by Esanders; owner: Esanders):
[mediawiki/extensions/VisualEditor@master] Add validation feedback to external link

As implemented:

image.png (240×456 px, 20 KB)

Edit: Copy changed to less jargon-y "Enter a full URL, ..." at @matmarex's suggestions

Change 523170 merged by jenkins-bot:
[mediawiki/extensions/VisualEditor@master] Add validation feedback to external link

"Enter a full URL, e.g."

Esanders added a subscriber: ppelberg.

Styling the input text as red would be an upstream change in OOUI, and would effect many more use cases, as this is a standardised widget.

We've decided to leave as is for now, and @iamjessklein may file an upstream task against OOUI to discuss this.

ppelberg claimed this task.