mirror of
https://gerrit.wikimedia.org/r/mediawiki/extensions/Echo
synced 2024-11-23 23:44:53 +00:00
Hardcode talk alert id to be pt-talk-alert
Bug: T285442 Change-Id: I3b46a494682b3b5055f525c0c1219a1710655ce5
This commit is contained in:
parent
98d7428837
commit
2bf4047410
|
@ -1141,6 +1141,8 @@ class EchoHooks implements RecentChange_saveHook {
|
|||
$links['notifications']['talk-alert'] = array_merge(
|
||||
$links['user-menu']['mytalk'],
|
||||
[
|
||||
// Hardcode id, which is needed to dismiss the talk alert notification
|
||||
'id' => 'pt-talk-alert',
|
||||
'text' => $skinTemplate->msg( 'echo-new-messages' )->text(),
|
||||
'class' => [ 'mw-echo-alert' ],
|
||||
]
|
||||
|
|
Loading…
Reference in a new issue