MediaWiki
REL1_41
GetNewMessagesAlertHook.php
Go to the documentation of this file.
1
<?php
2
3
namespace
MediaWiki\Hook
;
4
5
use
MediaWiki\Output\OutputPage
;
6
use
MediaWiki\User\User
;
7
15
interface
GetNewMessagesAlertHook
{
30
public
function
onGetNewMessagesAlert
( &$newMessagesAlert, $newtalks, $user,
31
$out
32
);
33
}
MediaWiki\Output\OutputPage
This is one of the Core classes and should be read at least once by any new developers.
Definition
OutputPage.php:93
MediaWiki\User\User
internal since 1.36
Definition
User.php:98
MediaWiki\Hook\GetNewMessagesAlertHook
This is a hook handler interface, see docs/Hooks.md.
Definition
GetNewMessagesAlertHook.php:15
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 Wed Nov 27 2024 07:24:56 for MediaWiki by
1.10.0