aboutsummaryrefslogtreecommitdiffstats
path: root/docs/hooks.txt
diff options
context:
space:
mode:
authorDannyS712 <DannyS712.enwiki@gmail.com>2020-05-29 09:21:19 +0000
committerDannyS712 <DannyS712.enwiki@gmail.com>2020-05-29 09:40:31 +0000
commit0eb1de24a7d97bad7bbec85177436926a17ffe25 (patch)
treeabb04d1f6cf3128c90e147ed9e58c4d11dfec678 /docs/hooks.txt
parent0eebd3ef55fe5957fe611d546e02a3d8be9cf7e7 (diff)
downloadmediawikicore-0eb1de24a7d97bad7bbec85177436926a17ffe25.tar.gz
mediawikicore-0eb1de24a7d97bad7bbec85177436926a17ffe25.zip
UserClearNewTalkNotification hook: Only guarantee a UserIdentity
Bug: T253435 Change-Id: Ia46b67ff284a8b9bc0d500e7b8536c2e84faef61
Diffstat (limited to 'docs/hooks.txt')
-rw-r--r--docs/hooks.txt2
1 files changed, 1 insertions, 1 deletions
diff --git a/docs/hooks.txt b/docs/hooks.txt
index 0e4b423b1ac7..2d620a781fd4 100644
--- a/docs/hooks.txt
+++ b/docs/hooks.txt
@@ -3731,7 +3731,7 @@ $action: Action being checked
'UserClearNewTalkNotification': Called when clearing the "You have new
messages!" message, return false to not delete it.
-[&]$user: User (object) that will clear the message
+[&]$userIdentity: UserIdentiy for the user that will clear the message
$oldid: ID of the talk page revision being viewed (0 means the most recent one)
'UserEffectiveGroups': Called in User::getEffectiveGroups().