Page MenuHomePhabricator

Configuration changes for the AbuseFilter extension at es.wikibooks
Closed, ResolvedPublic

Description

After six months without opposition in the thread I started in our local village pump; as can be seen in the thread linked in the URL field above we kindly request to activate the 'block' option for the AbuseFilter on es.wikibooks. The default block time will be for now 24 hours. Thank you.

URL: https://es.wikibooks.org/wiki/Wikilibros:Caf%C3%A9&oldid=171982#Filtro_de_ediciones

Details

Reference
bz29483

Event Timeline

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

Also, as per original discussion at https://secure.wikimedia.org/wikibooks/es/w/index.php?title=Wikilibros:Caf%C3%A9/Archivo/Octubre_2009&oldid=140120#Abuse_filter please switch the configuration to:

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

Currently all users can see the filters and the logs and we don't want that (cfr. [[b:es:Special:ListGroupRights]]). The 'abusefilter-view-private' (permission to view filters marked as private) was also requested but never got added.

Well, the final configuration should be:

$wgGroupPermissions['*']['abusefilter-view'] = false;
$wgGroupPermissions['*']['abusefilter-log'] = false;
$wgGroupPermissions['sysop']['abusefilter-modify'] = true;
$wgGroupPermissions['sysop']['abusefilter-log-detail'] = true;
$wgGroupPermissions['autoconfirmed']['abusefilter-view'] = true;
$wgGroupPermissions['autoconfirmed']['abusefilter-log'] = true;
$wgGroupPermissions['sysop']['abusefilter-private'] = false;
$wgGroupPermissions['sysop']['abusefilter-modify-restricted'] = true;
$wgGroupPermissions['sysop']['abusefilter-revert'] = true;
$wgGroupPermissions['sysop']['abusefilter-view-private'] = true;
$wgAbuseFilterAvailableActions[] = 'block';
$wgAbuseFilterBlockDuration = '24 hours';

Hope that this is right.

Regards.

Don't need abusefilter-view and -log for autoconfirmed if you're granting it to *. Otherwise this looks ok.

(In reply to comment #3)

Don't need abusefilter-view and -log for autoconfirmed if you're granting it to >*.

Please note that we're explicity setting -view and -log for the group '*' to 'false'

Otherwise this looks ok.

Thanks for your review.

(In reply to comment #4)

(In reply to comment #3)

Don't need abusefilter-view and -log for autoconfirmed if you're granting it to >*.

Please note that we're explicity setting -view and -log for the group '*' to
'false'

Ah yes I missed that :)

<logmsgbot> !log reedy synchronized php-1.17/wmf-config/abusefilter.php 'bug 29483'
<morebots> Logged the message, Master

Sorry to reopen but the changes we requested were not completly performed:

  1. We want to explicity dissallow IP users and non-autoconfirmed users to be able to see the filters and the log. The following lines are missing in the config. file:

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

See http://es.wikibooks.org/wiki/Especial:ListaDerechosGrupos

  1. We requested the filter to be able to block users with default expiry time = 24 hours. The following lines are missing:

$wgAbuseFilterAvailableActions[] = 'block';
$wgAbuseFilterBlockDuration = '24 hours';

http://noc.wikimedia.org/conf/highlight.php?file=abusefilter.php

Regards.

I must've copied the middle one accidentally

Sorry, done now

MarcoAurelio edited projects, added Spanish-Sites; removed Shell.
MarcoAurelio updated the task description. (Show Details)
MarcoAurelio removed a subscriber: wikibugs-l-list.