MediaWiki REL1_37
ApiOptionsHook.php
Go to the documentation of this file.
1<?php
2
3namespace MediaWiki\Api\Hook;
4
5use ApiOptions;
6use User;
7
15interface ApiOptionsHook {
29 public function onApiOptions( $apiModule, $user, $changes, $resetKinds );
30}
API module that facilitates the changing of user's preferences.
The User object encapsulates all of the user-specific settings (user_id, name, rights,...
Definition User.php:69
This is a hook handler interface, see docs/Hooks.md.
onApiOptions( $apiModule, $user, $changes, $resetKinds)
This hook is called by action=options before applying changes to user preferences.