mirror of
https://gerrit.wikimedia.org/r/mediawiki/extensions/Echo
synced 2024-11-28 01:30:15 +00:00
Update page-linked notification text
Bug: T121812 Change-Id: Ie875f105230c8364291a918b869b9c26dbdf1e83
This commit is contained in:
parent
99222dc95d
commit
60ddc76880
|
@ -44,6 +44,7 @@ $wgResourceModules += array(
|
|||
),
|
||||
'styles' => array(
|
||||
'ooui/styles/mw.echo.ui.overlay.less',
|
||||
'ooui/styles/mw.echo.ui.icons.less',
|
||||
'ooui/styles/mw.echo.ui.NotificationsWidget.less',
|
||||
'ooui/styles/mw.echo.ui.NotificationItemWidget.less',
|
||||
'ooui/styles/mw.echo.ui.NotificationGroupItemWidget.less',
|
||||
|
|
|
@ -70,9 +70,9 @@
|
|||
"notification-header-edit-user-talk-with-section": "$1 {{GENDER:$2|left}} a message on {{GENDER:$3|your}} talk page in \"$4\".",
|
||||
"notification-body-edit-user-talk-with-section": "$1",
|
||||
"notification-page-linked": "[[:$2]] was {{GENDER:$1|linked}} from [[:$3]]. [[Special:WhatLinksHere/$2|See all links to this page]].",
|
||||
"notification-header-page-linked": "$3 was {{GENDER:$2|linked}} from $4.",
|
||||
"notification-bundle-header-page-linked": "$3 was {{GENDER:$2|linked}} from $4 and $5 other {{PLURAL:$6|page|pages}}.",
|
||||
"notification-link-text-what-links-here": "See all links to this page",
|
||||
"notification-header-page-linked": "A link was made from $4 to $3.",
|
||||
"notification-bundle-header-page-linked": "$4 and $5 other {{PLURAL:$6|page|pages}} now link to $3.",
|
||||
"notification-link-text-what-links-here": "All links to this page",
|
||||
"notification-add-comment2": "[[User:$1|$1]] {{GENDER:$1|commented}} on \"[[$3|$2]]\" on the \"$4\" talk page.",
|
||||
"notification-add-talkpage-topic2": "[[User:$1|$1]] {{GENDER:$1|posted}} a new topic \"$2\" on [[$3]].",
|
||||
"notification-add-talkpage-topic-yours2": "[[User:$1|$1]] {{GENDER:$1|sent}} you a message: \"[[$3#$2|$2]]\".",
|
||||
|
|
|
@ -31,7 +31,7 @@ class EchoPageLinkedPresentationModel extends EchoEventPresentationModel {
|
|||
'url' => SpecialPage::getTitleFor( 'Whatlinkshere', $this->event->getTitle()->getPrefixedText() )->getFullURL(),
|
||||
'label' => $this->msg( 'notification-link-text-what-links-here' )->text(),
|
||||
'description' => '',
|
||||
'icon' => false,
|
||||
'icon' => 'linked',
|
||||
'prioritized' => true
|
||||
);
|
||||
return array( $whatLinksHereLink );
|
||||
|
|
5
modules/ooui/styles/mw.echo.ui.icons.less
Normal file
5
modules/ooui/styles/mw.echo.ui.icons.less
Normal file
|
@ -0,0 +1,5 @@
|
|||
@import 'mediawiki.mixins';
|
||||
|
||||
.oo-ui-icon-linked {
|
||||
.background-image('../../icons/link-blue.svg');
|
||||
}
|
Loading…
Reference in a new issue