A RetroSearch Logo

Home - News ( United States | United Kingdom | Italy | Germany ) - Football scores

Search Query:

Showing content from https://www.mediawiki.org/wiki/Special:MyLanguage/Manual:Hooks/CheckUserInsertChangesRow below:

Extension:CheckUser/Hooks/CheckUserInsertChangesRow - MediaWiki

CheckUserInsertChangesRow Available from version 1.40.0 (Gerrit change 816865)
Use this hook to modify the IP, XFF or other values on rows being inserted into the cu_changes table
Define function:
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
Function(s): insertIntoCuChangesTable

For more information about attaching hooks, see Manual:Hooks .
For examples of other extensions using this hook, see Category:CheckUserInsertChangesRow extensions.


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