Page MenuHomePhabricator

Support help texts for AbuseFilter consequence checkboxes
Closed, ResolvedPublic

Description

Currently, AbuseFilter consequence checkboxes only support a single label string. This has in a sense forced the showcaptcha consequence to use a full explanatory sentence as its checkbox label, and it may look visually inconsistent with other consequences in the UI, although this is unavoidable under the current AF specs:

Consequence checkboxes.PNG (916×449 px, 41 KB)

That said, it may be beneficial to add support for help texts for consequence checkboxes, in order to improve UI extensibility and flexibility:

Consequence checkboxes with help texts.PNG (540×445 px, 35 KB)

Event Timeline

Change #1241030 had a related patch set uploaded (by Umherirrender; author: Umherirrender):

[mediawiki/extensions/AbuseFilter@master] Allow to use help message for consequences on Special:AbuseFilter/id

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

Change #1241031 had a related patch set uploaded (by Umherirrender; author: Umherirrender):

[mediawiki/extensions/ConfirmEdit@master] Split label message for showcaptcha consequence and use help message

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

Change #1241030 merged by jenkins-bot:

[mediawiki/extensions/AbuseFilter@master] Allow to use help message for consequences on Special:AbuseFilter/number

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

Change #1241031 merged by jenkins-bot:

[mediawiki/extensions/ConfirmEdit@master] Split label message for showcaptcha consequence and use help message

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