Manual:Hooks/GetNewMessagesAlert

Details

 * &$newMessagesAlert - An empty string by default. If the user has new talk page messages, this should be populated with an alert message to that effect
 * $newtalks - An empty array if the user has no new messages or an array containing links and revisions if there are new messages (See User::getNewMessageLinks)
 * $user - The User object of the user who is loading the page
 * $out - OutputPage object (to check what type of page the user is on)