public static function onCheckUserInsertChangesRow( string &$ip, string &$xff, array &$row, $user, ?RecentChange $rc ) { ... }Attach hook:
$wgHooks['CheckUserInsertChangesRow'][] = 'MyExtensionHooks::onCheckUserInsertChangesRow';Called from: File(s): CheckUser / src/Hooks.php
For more information about attaching hooks, see Manual:Hooks .
For examples of other extensions using this hook, see Category:CheckUserInsertChangesRow extensions.
&$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).RetroSearch is an open source project built by @garambo | Open a GitHub Issue
Search and Browse the WWW like it's 1997 | Search results from DuckDuckGo
HTML:
3.2
| Encoding:
UTF-8
| Version:
0.7.4