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