`MWOAuthUIHooks::onBeforeCreateEchoEvent` contains this snippet:
```lang=php
$notificationCategories['oauth-admin'] = array(
'tooltip' => 'echo-pref-tooltip-oauth-admin',
'usergroups' => $wgOAuthGroupsToNotify,
);
```
This works locally in vagrant, but not on meta - `$wgOAuthGroupsToNotify` is empty.
```lang=php
tgr@terbium:~$ mwscript eval.php --wiki=metawiki
> var_export($wgOAuthGroupsToNotify);
array (
0 => 'oauthadmin',
)
> var_export($wgEchoNotificationCategories['oauth-admin']);
array (
'tooltip' => 'echo-pref-tooltip-oauth-admin',
'usergroups' =>
array (
),
)
> \MediaWiki\Extensions\OAuth\MWOAuthUIHooks::onBeforeCreateEchoEvent( $not, $cat, $i );
> var_export( $cat['oauth-admin'] );
array (
'tooltip' => 'echo-pref-tooltip-oauth-admin',
'usergroups' =>
array (
0 => 'oauthadmin',
),
)
```
Maybe related to the fact that Oauth uses extension registration but Echo does not. `BeforeCreateEchoEvent` is called from `ExtensionFunctions` though, which should in theory be late enough so not sure what is going on.