Page MenuHomePhabricator

ConfirmEdit should add the possibility to validate the input of [[MediaWiki:Captcha-ip-whitelist]]
Closed, ResolvedPublic

Description

With T103122: Allow IP addresses and ranges to be whitelisted from CAPTCHAs on wiki, ConfirmEdit allows to configure the IP whitelist on-wiki in an interface message. That's very good, but I think it would be great, if ConfirmEdit also adds the possibility to validate the added/entered IPs when, e.g., pressing the Preview button. That would allow an administrator (who is not familar with IP-addresses at all) to check if the rules are at least valid against the IP format and are readable and understandable by ConfirmEdit (this wouldn't cover the case, that the user provided the _false_ IP address, this is probably a subject for a new task to provide a special page to check an IP address against the whitelist).

Details

Related Gerrit Patches:

Event Timeline

Florian created this task.Mar 12 2016, 8:41 PM
Restricted Application added a subscriber: Aklapper. · View Herald TranscriptMar 12 2016, 8:41 PM

Change 277051 had a related patch set uploaded (by Florianschmidtwelzow):
Replace the edit preview with a validation of whitelisted ip addresses

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

The result of the above change would be:

Version after implementing the comments from @Glaisher:

Change 277051 merged by jenkins-bot:
Replace the edit preview with a validation of whitelisted IP addresses

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