Page MenuHomePhabricator

Activation of AbuseFilter on Romanian language Wikipedia
Closed, ResolvedPublic


Author: andreistro.e+wikibugzilla

At ro.wp we have agreed [1] that we would like to activate and use the AbuseFilter extension of MediaWiki. Any sysop should be allowed to operate it.

Thanks in advance for the help.


Version: unspecified
Severity: enhancement



Event Timeline

bzimport raised the priority of this task from to Medium.Nov 21 2014, 11:16 PM
bzimport set Reference to bz26634.
bzimport added a subscriber: Unknown Object (MLST).

Should now be enabled. I reused the same user rights used on the english wikipedia:

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

Please reopen or create a new bug if it needs corrections.

andreistro.e+wikibugzilla wrote:

Thanks, Ashar. Right now, however, it appears that nobody can add/modify filters, nor can bureaucrats grant the permission to edit abuse filters to anyone. There may be some settings missing...

As I said in the initial request, it would be fine if all sysops (we don't have too many) could be automatically allowed to edit abuse filters, or if the bureaucrats would be able to grant the abusefilter-modify rights.

I applied the english wikipedia model in which Bureaucrats would have to add people in the 'abusefilter' group. This way you can control who is able to edit it :)

If you really want any sysop to be able to modify the filters, I would change the userrights by:

-$wgGroupPermissions['sysop']['abusefilter-modify'] = false;
+$wgGroupPermissions['sysop']['abusefilter-modify'] = true;

And remove the 'abusefilter' group :

-$wgGroupPermissions['abusefilter']['abusefilter-modify'] = true;

andreistro.e+wikibugzilla wrote:

The en.wp model would be sufficient, and it would allow us to develop our own policy; but right now, for some reason, bureaucrats can't add users to the abusefilter group. Maybe there's another setting for this group, maybe add 'abusefilter' to the $wgAddGroups['bureaucrat'] list?

Ok I have allowed bureaucrats to add/remove users in the 'abusefilter' group.
Looks better now.

andreistro.e+wikibugzilla wrote:

Thank you, it's all right now. I'm changing issue status to "resolved", I hope it's ok with the lifecycle policies.

Looks like anyone is allowed to resolve a bug is created.
Create a new bug if you need a change :)