Page MenuHomePhabricator

Remove 'CheckUserInsertForRecentChange' hook
Closed, ResolvedPublic1 Estimated Story Points

Description

The CheckUserInsertForRecentChangeHook has been deprecated since 1.40 and hard-deprecated since b1f12e4a5dd3a0a48f216c90c6cc7791ad68d140 (in REL1_42 and merged more than 3 months ago). As such, per the stable interface policy. it should be safe to remove the hook now.

Removing the hook is useful as it is not run for any events that are inserted into the cu_log_event or cu_private_event table. The hook can be replaced by using the any of the CheckUserInsertChangesRowHook, CheckUserInsertLogEventRowHook, and CheckUserInsertPrivateEventRowHook.

Acceptance criteria
  • Remove the hard-deprecated CheckUserInsertForRecentChange hook.

Related Objects

View Standalone Graph
This task is connected to more than 200 other tasks. Only direct parents and subtasks are shown here. Use View Standalone Graph to show more of the graph.

Event Timeline

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

[mediawiki/extensions/CheckUser@master] Remove hard-deprecated CheckUserInsertForRecentChange hook

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

Change #1053379 merged by jenkins-bot:

[mediawiki/extensions/CheckUser@master] Remove hard-deprecated CheckUserInsertForRecentChange hook

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

Dreamy_Jazz updated the task description. (Show Details)