In T224308#5221073, @Tufor wrote:@Urbanecm Sorry to bother you again, but I thought that a mere adding of abusefilter-modify-restricted right to the abusefilter group would give the Abuse Filter ability to perform "block" actions. Apparently that's not enough. My fault, I'm sorry.
Therefore I would like to kindly ask you to add to the wmf-config/abusefilter.php the following lines:
$wgAbuseFilterActions['block'] = true; $wgAbuseFilterBlockDuration = '2 hours'; $wgAbuseFilterAnonBlockDuration = '2 hours';The specified time wasn't discussed in our Village Pump discussion, but 2 hours is more than enough for us to stop a vandal and if needed, to reblock them for a longer period of time. To further clarify, the discussion in our village pump wasn't only on adding the "abuse-modify-restricted" (which is already done, thank you!), but on giving the AbuseFilter the ability to block (headline: "Możliwość blokowania przez filtr nadużyć" – "The ability to block by the Abuse Filter"). The "abuse-modify-restricted" is mentioned there only because, like I said, stupid me didn't look into details and thought it was sufficient to get that blocking ability.
Thank you in advance
Description
Description
Details
Details
Project | Branch | Lines +/- | Subject | |
---|---|---|---|---|
operations/mediawiki-config | master | +3 -0 | Enable abusefilter blocking ability in plwiki |
Related Objects
Related Objects
Event Timeline
Comment Actions
@Tufor Note wgAbuseFilterBlockDuration specifies only default block length, you can always choose more suitable block length per filter.
Comment Actions
Change 513186 had a related patch set uploaded (by Urbanecm; owner: Urbanecm):
[operations/mediawiki-config@master] Enable abusefilter blocking ability in plwiki
Comment Actions
Change 513186 merged by jenkins-bot:
[operations/mediawiki-config@master] Enable abusefilter blocking ability in plwiki
Comment Actions
Mentioned in SAL (#wikimedia-operations) [2019-05-30T11:04:34Z] <urbanecm@deploy1001> Synchronized wmf-config/abusefilter.php: [[:gerrit:Enable abusefilter blocking ability in plwiki]] (T224617) (duration: 00m 58s)