Файловый менеджер - Редактировать - /var/www/html/mediawiki-1.43.1/extensions/CheckUser/src/Hook/CheckUserInsertPrivateEventRowHook.php
Ðазад
<?php namespace MediaWiki\CheckUser\Hook; use MediaWiki\User\UserIdentity; use RecentChange; interface CheckUserInsertPrivateEventRowHook { /** * Use this hook to modify the IP, XFF or other values * in the row to be inserted into cu_private_event. * * If changing the request IP or XFF stored in the database, you are * required to modify $ip and $xff (instead of * modifying $row) as CheckUser will calculate other * values based on those parameters and not the values * in $row. * * @since 1.40 * * @param string &$ip The user's IP * @param string|false &$xff The XFF for the request; false if no defined XFF * @param array &$row The row to be inserted (before defaults are applied) * @param UserIdentity $user The user who performed the action associated with this row * @param ?RecentChange $rc If triggered by a RecentChange, then this is the associated * RecentChange object. Null if not triggered by a RecentChange. * @codeCoverageIgnore Cannot be annotated as covered. */ public function onCheckUserInsertPrivateEventRow( string &$ip, &$xff, array &$row, UserIdentity $user, ?RecentChange $rc ); } /** * Retain the old class name for backwards compatibility. * @deprecated since 1.41 */ class_alias( CheckUserInsertPrivateEventRowHook::class, 'MediaWiki\CheckUser\Hook\CheckUserInsertPrivateEventRow' );
| ver. 1.1 | |
.
| PHP 8.4.18 | Ð“ÐµÐ½ÐµÑ€Ð°Ñ†Ð¸Ñ Ñтраницы: 0 |
proxy
|
phpinfo
|
ÐаÑтройка