Jump to content


From mediawiki.org
Available from version ???
Allows determining which users get notified for which type of event
Define function:
public static function onEchoGetDefaultNotifiedUsers( EchoEvent $event, array &$users ) { ... }
Attach hook:
$wgHooks['EchoGetDefaultNotifiedUsers'][] = 'MyExtensionHooks::onEchoGetDefaultNotifiedUsers';
Called from:File(s): Echo / NotificationController.php
Function(s): getUsersToNotifyForEvent

For more information about attaching hooks, see Manual:Hooks .
For examples of other extensions using this hook, see Category:EchoGetDefaultNotifiedUsers extensions.


  • $event: EchoEvent object
  • &$users: Array of User objects