Page MenuHomePhabricator

Enforce minimum length of the tag on the client side for the checkuser block form
Closed, ResolvedPublicFeature

Description

The CheckUser block form does not tag users if the length of the tag is less than 2 to "avoid mistakes". There is no indication that this is the case on the client side which is likely to lead to confusion.

There should be a minimum length set for the inputs so that the form will not submit when the tag is less than 2 characters. It should be able to skip this check if the checkbox for the input is not selected.

Event Timeline

Change 865796 had a related patch set uploaded (by Dreamy Jazz; author: Dreamy Jazz):

[mediawiki/extensions/CheckUser@master] Enforce a minimum length for the tags as 3 on the client-side

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

Change 865796 merged by jenkins-bot:

[mediawiki/extensions/CheckUser@master] Enforce the minimum length for the tags as 3 on the client-side

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