|
MediaWiki REL1_35
|
Stable to implement. More...

Public Member Functions | |
| onApiOptions ( $apiModule, $user, $changes, $resetKinds) | |
| This hook is called by action=options before applying changes to user preferences. | |
Stable to implement.
Definition at line 12 of file ApiOptionsHook.php.
| MediaWiki\Api\Hook\ApiOptionsHook::onApiOptions | ( | $apiModule, | |
| $user, | |||
| $changes, | |||
| $resetKinds | |||
| ) |
This hook is called by action=options before applying changes to user preferences.
| ApiOptions | $apiModule | Calling ApiOptions object |
| User | $user | User object whose preferences are being changed |
| array | $changes | Associative array of preference name => value |
| string[] | $resetKinds | Array of strings specifying which options kinds to reset See User::resetOptions() and User::getOptionKinds() for possible values. |
Implemented in MediaWiki\Api\ApiHookRunner.