Page MenuHomePhabricator

Enable the AbuseFilter on the French Wikipedia.
Closed, ResolvedPublic

Description

Please enable the extension AbuseFilter on the French Wikipedia.

We would like an user group of filter editors, with the rights "abusefilter-modify" and "abusefilter-revert".

For the "autoconfirmed" group, please add the rights "abusefilter-view" and "abusefilter-log-detail".

The group "*" (all users) should get the "abusefilter-log" right and the group "sysop" should also get "abusefilter-revert".

The disussions and the consensus are here: http://fr.wikipedia.org/wiki/Wikipédia:Prise_de_décision/AbuseFilter

Thanks in advance.


Version: unspecified
Severity: enhancement

Details

Reference
bz22650

Event Timeline

bzimport raised the priority of this task from to Medium.Nov 21 2014, 11:07 PM
bzimport set Reference to bz22650.

oh, and I forgot to say that the bureaucrats should be able to add or remove users from the edit filter managers group.

koneko wrote:

I confirm the validity of this consensus --

jeluf wrote:

$wgGroupPermissions['*']['abusefilter-log'] = true;
$wgGroupPermissions['autoconfirmed']['abusefilter-log-detail'] = true;
$wgGroupPermissions['autoconfirmed']['abusefilter-view'] = true;
$wgGroupPermissions['sysop']['abusefilter-revert'] = true;
$wgGroupPermissions['abusefilter']['abusefilter-modify'] = true;
$wgGroupPermissions['abusefilter']['abusefilter-revert'] = true;

wgRemoveGroups and wgAddGroups set to:

'bureaucrat' => array( 'sysop', 'bureaucrat', 'bot', 'abusefilter' ),

> Done.

Whoops! The default rights assigned to the "abusefilter" group shoud have been disabled.

This should be better:

$wgGroupPermissions['*']['abusefilter-view'] = false;
$wgGroupPermissions['sysop']['abusefilter-modify'] = false;

(Only let the "abusefilter" group edit the filters, and the "autoconfirmed" group see the filters.)

Thanks again :)

jeluf wrote:

Changed the ruleset to:

$wgGroupPermissions['*']['abusefilter-view'] = false;
$wgGroupPermissions['*']['abusefilter-log'] = true;
$wgGroupPermissions['autoconfirmed']['abusefilter-log-detail'] = true;
$wgGroupPermissions['autoconfirmed']['abusefilter-view'] = true;
$wgGroupPermissions['sysop']['abusefilter-revert'] = true;
$wgGroupPermissions['sysop']['abusefilter-modify'] = false;
$wgGroupPermissions['abusefilter']['abusefilter-modify'] = true;
$wgGroupPermissions['abusefilter']['abusefilter-revert'] = true;