3 namespace MediaWiki\Api\Hook
;
6 * This is a hook handler interface, see docs/Hooks.md.
7 * Use the hook name "ApiRsdServiceApis" to register handlers implementing this interface.
12 interface ApiRsdServiceApisHook
{
14 * Use this hook to add or remove APIs from the RSD services list. Each service
15 * should have its own entry in the $apis array and have a unique name, passed as
16 * key for the array that represents the service data. In this data array, the
17 * key-value-pair identified by the apiLink key is required.
21 * @param array &$apis Array of services
22 * @return bool|void True or no return value to continue or false to abort
24 public function onApiRsdServiceApis( &$apis );