Extension:CheckUser/Hooks/CheckUserInsertChangesRow
Appearance
(Redirected from Manual:Hooks/CheckUserInsertChangesRow)
See also: Extension:CheckUser/Hooks/CheckUserInsertPrivateEventRow and Extension:CheckUser/Hooks/CheckUserInsertLogEventRow
For more information about attaching hooks, see Manual:Hooks.
For examples of other extensions using this hook, see Category:CheckUserInsertChangesRow extensions.
Parameters
[edit]&$ip- The IP address that will be stored in the row, which can be modified&$xff- The XFF header that will be stored in the row, which can be modified&$row- The row that will be stored in the cu_changes after a few more modifications, which can be modified by code that hooks onto this hook&$user- The user who made the request that caused the cu_changes row. The user attributes will be added to the row if not set by code that hooks on to this hook$rc- Optional. The RecentChanges object associated with the request that caused the cu_changes row insert (if one exists).