From mediawiki.org
Available from version ??? (Gerrit change 29436)
Allows registration of custom Echo events
Define function:
public static function onBeforeCreateEchoEvent( &$echoNotifications, &$echoNotificationCategories, &$echoNotificationIcons ) { ... }
Attach hook:
$wgHooks['BeforeCreateEchoEvent'][] = 'MyExtensionHooks::onBeforeCreateEchoEvent';
Called from:File(s): Echo / includes/EchoHooks.php
Function(s): initEchoExtension

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


  • &$echoNotifications: Array, for custom Echo event
  • &$echoNotificationCategories: Array, for custom Echo categories
  • &$echoNotificationIcons: Array, replace or add custom icons

See also[edit]