Page MenuHomePhabricator

All anon-IP edits blocked on en.wikivoyage (due to local AbuseFilter rule)
Closed, ResolvedPublicBUG REPORT

Description

List of steps to reproduce (step by step, including full links if applicable):

  • Log off the site if you're an existing user
  • Go to https://en.wikivoyage.org
  • Attempt to edit and save a page - doesn't matter which one or how trivial your proposed change

What happens?: Error: This action has been automatically identified as harmful, and therefore disallowed. If you believe your action was constructive, please inform an administrator of what you were trying to do. A brief description of the abuse rule which your action matched is: Disallowed

No anon-IP's have been able to edit at all since 16:28 yesterday (GMT), per recent changes:

What should have happened instead?:

Software version (if not a Wikimedia wiki), browser information, screenshots, other information, etc:

Event Timeline

I'm not sure what we're supposed to do here on phabricator. This is evidently a misconfigured abuse filter, and should be fixed by the local AF editors.

In fact, looking at AF 37 which was pointed out above, I can see the following warning being displayed by the editor:

This regular expression matches the empty string, at character 821

which is easy to confirm, since the first regexp has a leading pipe.


Besides, keep in mind that & has higher precedence than |, so if you write A & B | C, that is parsed as ( A & B ) | C, not A & ( B | C ). I think the intention in filter 37 was the latter and the OR expression should be parenthesized, although it shouldn't matter too much, practically speaking.

(Local enwikivoyage admin here) I removed the part of the regex that matches an empty string, https://en.wikivoyage.org/wiki/Special:AbuseFilter/history/37/diff/prev/982 (for those who have access to see) - hopefully that'll fix it.

Is it possible to escalate warnings like This regular expression matches the empty string, at character 821 to *prevent* saving the filter, or at least add a confirmation step of "are you sure you mean to do this" before saving?

(Tagging as a site request because this shouldn't have 0 tags, and its the closest to what would be appropriate since its a request to change something onwiki)

Is it possible to escalate warnings like This regular expression matches the empty string, at character 821 to *prevent* saving the filter, or at least add a confirmation step of "are you sure you mean to do this" before saving?

It should be possible, yes. Preventing seems to much, but adding a warning could be a good idea; I've filed T287458.

Urbanecm assigned this task to DannyS712.
Urbanecm subscribed.

I just tried to edit anonymously at my user subpage, and it worked. Closing, as it looks it's resolved now.

Aklapper renamed this task from All anon-IP edits blocked on en.wikivoyage to All anon-IP edits blocked on en.wikivoyage (due to local AbuseFilter rule).Jul 27 2021, 1:30 PM