Page MenuHomePhabricator

Call a hook in User::spreadAnyEditBlock to allow extensions to also spread relevant blocks
Closed, ResolvedPublic2 Estimated Story Points

Description

The User::spreadAnyEditBlock method allows local blocks which are set to autoblock to have the IP being used by the user autoblocked.

To bring feature parity with GlobalBlocking autoblocks, the method should call a hook which allows extensions to also spread any relevant blocks that are implemented using extensions.

Acceptance criteria
  • Call a hook in User::spreadAnyEditBlock which allows extensions to spread extension-specific autoblocks

Event Timeline

Change #1075083 had a related patch set uploaded (by Dreamy Jazz; author: Dreamy Jazz):

[mediawiki/core@master] Add SpreadAnyEditBlock hook

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

Dreamy_Jazz changed the point value for this task from 1 to 2.Sep 23 2024, 11:06 PM
kostajh subscribed.

I think this one can skip QA, marking as resolved.

Change #1075083 merged by jenkins-bot:

[mediawiki/core@master] Add SpreadAnyEditBlock hook

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