|
MediaWiki master
|
This is a hook handler interface, see docs/Hooks.md. More...
Inherited by MediaWiki\HookContainer\HookRunner.
Public Member Functions | |
| onGetSecurityLogContext (array $info, array &$context) | |
| This hook is called from WebRequest::getSecurityLogContext() to collect information about the request that's worth logging for log events which are relevant for security or anti-abuse purposes (login, credentials changes etc). | |
This is a hook handler interface, see docs/Hooks.md.
Use the hook name "GetSecurityLogContext" to register handlers implementing this interface.
Definition at line 12 of file GetSecurityLogContextHook.php.
| MediaWiki\Hook\GetSecurityLogContextHook::onGetSecurityLogContext | ( | array | $info, |
| array & | $context ) |
This hook is called from WebRequest::getSecurityLogContext() to collect information about the request that's worth logging for log events which are relevant for security or anti-abuse purposes (login, credentials changes etc).
| array | $info | Information array with the following fields:
|
| array | &$context | The PSR-3 log context. |
Implemented in MediaWiki\HookContainer\HookRunner.