Page MenuHomePhabricator

Addition of a "project" variable to abusefilter
Closed, DuplicatePublic


Please add an abusefilter variable (useful for global abusefilters) containing the relevant project of an action. For instance, if a global filter shouldn't apply to wikidata we should be able to add a !project == "wikidata" rule.

Event Timeline

Vituzzu created this task.Feb 13 2016, 10:37 AM
Vituzzu raised the priority of this task from to Needs Triage.
Vituzzu updated the task description. (Show Details)
Vituzzu added a subscriber: Vituzzu.
Restricted Application added subscribers: JEumerus, StudiesWorld, Aklapper. · View Herald TranscriptFeb 13 2016, 10:37 AM

Wikimedia's setup for this sort of thing is rather broken, and it's far too late to fix it.

alex@alex-laptop:~$ ssh tin -t mwscript eval.php wikidatawiki
> var_dump( $site );
string(9) "wikipedia"
TTO added a subscriber: TTO.Feb 13 2016, 11:15 AM

Why not provide the database name?