Page MenuHomePhabricator

Blockautopromote duration should be configurable
Open, Stalled, Needs TriagePublic

Description

This is a following of rEABF27578d7ba00c44d480014341d5c456909797c1fa.

Blockautopromote duration should be configurable in:

  • The site config
  • Each abuse filters

Event Timeline

Restricted Application added a subscriber: Aklapper. · View Herald TranscriptSep 1 2019, 5:38 PM
DannyS712 claimed this task.Sep 1 2019, 6:03 PM
Restricted Application added a project: User-DannyS712. · View Herald TranscriptSep 1 2019, 6:03 PM

Change 536755 had a related patch set uploaded (by DannyS712; owner: DannyS712):
[mediawiki/extensions/AbuseFilter@master] Allow Blockautopromote duration to be configured for wikis.

https://gerrit.wikimedia.org/r/536755

Copying my comment from gerrit:

The duration of blocks can be configured both on a per-filter basis and via globals. But that's just because of historical reasons: previously, it was only configurable per-wiki, then we added per-filter customization, and the global setting became just the default value for the dropdown.
However, for other actions, I'd like to stick to a single config type: either per-wiki or per-filter. Having both is IMHO hard to maintain, and not much useful. Hence, I think we should discuss (on phab) the pros and cons of both approaches and determine which one we want for blockautopromote.
Given the nature of the 'blockautopromote' action, I think users won't need to customize the duration for every single filter. Thus, I tend to think that per-wiki would be the best choice. But I'm also fine with having both options, if there's a good reason to.

DannyS712 changed the task status from Open to Stalled.Mon, Sep 23, 5:40 PM

Awaiting discussion on if it should be wiki-wide or filter-based