mirror of
https://gerrit.wikimedia.org/r/mediawiki/extensions/Echo
synced 2024-11-24 07:54:13 +00:00
Explicit convert Message objects when used as string
This makes clear which escaping should be used. In all cases it needs Message::text, because there are used inside Html::element. There is no visual different. Change-Id: I17474a7d5f057321e8c759d4bf94c8234c7a89c7
This commit is contained in:
parent
7f48cfbdb9
commit
e89206ce4a
|
@ -23,7 +23,7 @@ class SpecialNotificationsFormatter extends EchoEventFormatter {
|
|||
|
||||
$markAsReadIcon = new OOUI\IconWidget( [
|
||||
'icon' => 'close',
|
||||
'title' => wfMessage( 'echo-notification-markasread' ),
|
||||
'title' => wfMessage( 'echo-notification-markasread' )->text(),
|
||||
] );
|
||||
|
||||
$markAsReadForm = $markReadSpecialPage->getMinimalForm(
|
||||
|
|
Loading…
Reference in a new issue