Page MenuHomePhabricator

system messages need an additional variable containing number of filter rule
Closed, ResolvedPublic

Description

I'd like to have the system messages

  • MediaWiki:abusefilter-disallowed,
  • MediaWiki:abusefilter-warning,
  • MediaWiki:abusefilter-autopromote-blocked,
  • MediaWiki:abusefilter-blocked-display,
  • MediaWiki:abusefilter-degrouped, ...

being equipped with an additional variable containing the number of the triggered filter rule. For example in the message "abusefilter-disallowed" the short description of the rule can be used by $1. I want to have the number of the rule in $2.

Reason: In w:de every user whose edit is blocked via abuse filter should be given a message containing a link to some individual (per rule) page, where false positives can be reported and other discussions about that rule can be read.

Right now we have a centralized page for reporting false positives, but that brings some negative side-effects that can be avoided with separated pages per rule.


Version: unspecified
Severity: enhancement

Details

Reference
bz50464

Event Timeline

bzimport raised the priority of this task from to Medium.Nov 22 2014, 1:53 AM
bzimport added a project: AbuseFilter.
bzimport set Reference to bz50464.
bzimport added a subscriber: Unknown Object (MLST).

Change 71291 had a related patch set uploaded by Se4598:
Add triggered filter id as parameter to messages

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

Change 71291 merged by Hoo man:
Add triggered filter id as parameter to messages

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