Page MenuHomePhabricator

Enable AbuseFilter events to show up in irc.wikimedia.org for English Wikipedia
Closed, ResolvedPublic

Description

Abusefilter log events should show up in the IRC recentchanges feed, just like other log events.

Currently bots like Mr.Z-bot in #wikipedia-en-abuse-log need to query the toolserver database or the API on a repeated basis to get updated information, instead of being able to follow an RC feed.


Version: unspecified
Severity: enhancement

Details

Reference
bz42758

Event Timeline

bzimport raised the priority of this task from to Needs Triage.Nov 22 2014, 12:51 AM
bzimport set Reference to bz42758.

I did a bit of research, namely http://wikitech.wikimedia.org/view/IRCD and https://www.mediawiki.org/wiki/Abusefilter#Configuration (the UDP section).

If the Abusefilter supports sending UDP updates, does that mean it only needs to be turned on for WMF wikis and not coded?

After finding gerrit change Ie4bda2f9, it seems this was already coded into the abusefilter.

I'd like for this to be turned on for the English Wikipedia and will try and submit a changeset if I can figure out how to use gerrit.

Should be figured out if it would mean only the public ones or also the private ones.

That's a good point.

Ideally private filters should show up with some variant of "00:00, 13 December 2012: Username (talk) triggered an edit filter, performing the action "edit" on Pagename. Actions taken: Warn/Disallow/Tag; Filter description: Name_of_filter" which is the current form of what you see on [[Special:AbuseLog]] if you don't have the proper permission to view it.

I haven't taken a look at the relevant code though to see if that is supported though.

(In reply to comment #3)

Should be figured out if it would mean only the public ones or also the
private
ones.

I submitted gerrit change I433aa0d9 which would only send public filters to the IRC feed.

Ori merged my change to the extension.

The actual fix for this bug is gerrit change I942435b7.

(In reply to comment #6)

The actual fix for this bug is gerrit change I942435b7.

Merged by Ori, thanks.