MediaWiki
master
ApiOptionsHook.php
Go to the documentation of this file.
1
<?php
2
3
namespace
MediaWiki\Api\Hook
;
4
5
use
MediaWiki\Api\ApiOptions
;
6
use
MediaWiki\User\User
;
7
15
interface
ApiOptionsHook
{
29
public
function
onApiOptions
( $apiModule, $user, $changes, $resetKinds );
30
}
MediaWiki\Api\ApiOptions
API module that facilitates the changing of user's preferences.
Definition
ApiOptions.php:36
MediaWiki\User\User
internal since 1.36
Definition
User.php:93
MediaWiki\Api\Hook\ApiOptionsHook
This is a hook handler interface, see docs/Hooks.md.
Definition
ApiOptionsHook.php:15
MediaWiki\Api\Hook\ApiOptionsHook\onApiOptions
onApiOptions( $apiModule, $user, $changes, $resetKinds)
This hook is called by action=options before applying changes to user preferences.
MediaWiki\Api\Hook
Definition
APIAfterExecuteHook.php:3
includes
api
Hook
ApiOptionsHook.php
Generated on Thu Oct 10 2024 02:23:08 for MediaWiki by
1.10.0