MediaWiki REL1_35
GetNewMessagesAlertHook.php
Go to the documentation of this file.
1<?php
2
3namespace MediaWiki\Hook;
4
5use OutputPage;
6use User;
7
27 public function onGetNewMessagesAlert( &$newMessagesAlert, $newtalks, $user,
28 $out
29 );
30}
This is one of the Core classes and should be read at least once by any new developers.
The User object encapsulates all of the user-specific settings (user_id, name, rights,...
Definition User.php:60
onGetNewMessagesAlert(&$newMessagesAlert, $newtalks, $user, $out)
Use this hook to disable or modify the new messages alert.