Page MenuHomePhabricator

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

Description

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 raised the priority of this task from to Needs Triage.
Vituzzu updated the task description. (Show Details)
Vituzzu subscribed.

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"

Why not provide the database name?