Skin:Minerva Neue/Hooks/SkinMinervaReplaceNotificationsBadge
Appearance
SkinMinervaReplaceNotificationsBadge | |
---|---|
Available from version master Replace the notifications mechanism for Minerva. For integration with notifications extensions e.g. Echo only. |
|
Define function: | public static function onSkinMinervaReplaceNotificationsBadge( User $user, Title $currentTitle, string &$badge ) { ... }
|
Attach hook: | $wgHooks['SkinMinervaReplaceNotificationsBadge'][] = 'MyExtensionHooks::onSkinMinervaReplaceNotificationsBadge';
|
Called from: | File(s): Minerva Neue / |
For more information about attaching hooks, see Manual:Hooks .
For examples of other extensions using this hook, see Category:SkinMinervaReplaceNotificationsBadge extensions.