Page MenuHomePhabricator

Display errors on invalid form submission on Special:SimilarEditors
Closed, ResolvedPublic3 Estimated Story Points

Description

From T296214:

  • Submitting the form with an invalid value shows an error. Examples of invalid values are as follows:
  • "" (the empty string)
  • A username that doesn't exist
  • An IP address that isn't a valid IPv{4,6} address

Submitting with valid input doesn't do anything yet.

Event Timeline

Tchanders set the point value for this task to 3.Apr 19 2022, 4:13 PM

Change 786439 had a related patch set uploaded (by STran; author: STran):

[mediawiki/extensions/SimilarEditors@master] Add input validation for SimilarEditors form

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

Change 786439 merged by jenkins-bot:

[mediawiki/extensions/SimilarEditors@master] Add input validation for SimilarEditors form

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

@imaigwilo @dom_walden Here's a task for the bug we found in our meeting about testing, where errors display when first loading Special:SimilarEditors: T307211