mediawiki-extensions-AbuseF.../includes/Hooks/Handlers
Dreamy Jazz 8e4a1237f1 Hook on privateEvent and logEvent insert hooks like CuChangesInsert
Hook on to CheckUserInsertPrivateEventRow and CheckUserInsertLogEventRow
to override the IP, XFF and User-Agent string when the user is the
abuse filter user for log events.

These two hooks are being added as log entries are being removed from
cu_changes and added into two new tables. Because the columns and their
names are different for these tables, reusing the same hook won't work
for callers that rely on setting values for a specific column name.

Edits and log entries performed by the abuse filter user need to be
marked as being by the software (and not using the IP, XFF and
User-Agent provided in the main request).

These hooks will not be run until the appropriate config is set to
write to the two new tables. Until that point using the one currently
defined hook will work for all actions.

Bug: T324907
Bug: T44345
Depends-On: I7c7754323ade9a8d96273c1742f30b1b5fbe5828
Follow-Up: Idd77545af94f9f9930d9ff38ab6423a72e680df9
Change-Id: Id78417e9d95220946f110afbe1430df5b3bb4f4f
2023-01-08 13:09:52 +00:00
..
AutoPromoteGroupsHandler.php build: Updating dependencies 2021-07-21 18:51:18 +00:00
ChangeTagsHandler.php Move ChangeTags stuff to separate namespace 2020-11-27 15:13:34 +00:00
CheckUserHandler.php Hook on privateEvent and logEvent insert hooks like CuChangesInsert 2023-01-08 13:09:52 +00:00
EchoHandler.php Move all "secondary" hooks away from AbuseFilterHooks 2021-02-01 17:29:26 +01:00
FilteredActionsHandler.php Switch filterable actions hooks to the new system 2021-08-16 14:18:56 +00:00
PageSaveHandler.php Move all "secondary" hooks away from AbuseFilterHooks 2021-02-01 17:29:26 +01:00
RecentChangeSaveHandler.php Move all "secondary" hooks away from AbuseFilterHooks 2021-02-01 17:29:26 +01:00
RegistrationCallback.php Clean up line indent with mixed tabs and whitespaces 2022-07-31 16:34:07 +02:00
SchemaChangesHandler.php postgres: Fix changeNullableField calls 2022-07-13 22:13:48 +02:00
TestsHandler.php build: Updating composer dependencies 2021-05-02 06:41:54 +00:00
ToolLinksHandler.php Call IContextSource::getAuthority instead of IContextSource::getUser 2022-07-03 16:37:18 +02:00
UserMergeHandler.php Move onUserMergeAccountFields to its own file 2021-05-06 11:33:24 +10:00
UserRenameHandler.php Use namespaced Renameuser classes 2022-03-06 17:10:41 +00:00