Page MenuHomePhabricator

Add variable user-is-blocked
Closed, ResolvedPublic

Description

Is it possible to add a variable (might be in user_groups or something) to the abusefilter which can be used to check if the user is blocked?

On many wiki's users are still able to edit their talk page while blocked; it would be useful to filter on edits from blocked users with the abusefilter.


Version: unspecified
Severity: enhancement

Details

Reference
bz22548

Event Timeline

bzimport raised the priority of this task from to Low.Nov 21 2014, 11:00 PM
bzimport added a project: AbuseFilter.
bzimport set Reference to bz22548.

This can be implemented by creating an Autopromote group 'blocked'.
http://www.mediawiki.org/wiki/Manual:$wgAutopromote

i.e. no enhancement is needed to the AbuseFilter code; it can be achieved with configuration.

I don't think creating a user group is the right solution here. The AbuseFilter should be self-sufficient in regards to using variables. Creating an autopromote group is just a hack around the lack of a variable.