Page MenuHomePhabricator

Convert AbuseFilter to use extension registration
Closed, ResolvedPublic

Description

The AbuseFilter extension needs to be converted to use the new extension registration system. More details are available on T87875.

Event Timeline

Legoktm added a project: AbuseFilter.
Legoktm set Security to None.
gerritbot added a subscriber: gerritbot.

Change 190761 had a related patch set uploaded (by Se4598):
Convert AbuseFilter to use extension registration system

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

Patch-For-Review

Se4598 triaged this task as Low priority.

Change 190761 abandoned by Se4598:
Add extension.json

Reason:
I don't have the will and time to maintain this change for all the other changes happening while this was up in the past and would be up in the future... Don't rely on this ps.

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

Change 222566 had a related patch set uploaded (by Paladox):
Add extension.json, empty php entry point

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

Change 222566 merged by jenkins-bot:
Add extension.json, empty php entry point

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

Change 292569 had a related patch set uploaded (by Paladox):
Add extension registration and following changes

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

e71808f4c4deca416ecd39160d12f2584bfb9d65 did this but had to be reverted (see T136644 and T136929).

"AbuseFilterAvailableActions" should be converted to an associative array, so in config the things that need to be disabled can be set to => false instead of requiring array_diff and whatnot, and any calling code that needs to read from $wgAbuseFilterAvailableActions can use array_keys( array_filter( ... ) ); first.

Change 292604 had a related patch set uploaded (by Gergő Tisza):
Add extension.json, empty php entry point

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

Tried to update those config fields to associative but preserve B/C with a somewhat ugly hack in https://gerrit.wikimedia.org/r/#/c/292605/.

Paladox added a subscriber: Paladox.

@Tgr I've assigned you to this task since you fixed the problem. If you doint want to be assigned please unassign your self.

Change 292604 merged by jenkins-bot:
Add extension.json, empty php entry point

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

Let's hope it sticks this time.

Change 292569 abandoned by Paladox:
Add extension registration and following changes

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

Change 299931 had a related patch set uploaded (by Gergő Tisza):
Add extension.json, empty php entry point

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

Change 299931 merged by jenkins-bot:
Add extension.json, empty php entry point

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