jenkins-bot has submitted this change and it was merged.
Change subject: Add page link to 'enabled-on-talk-page' notification
......................................................................
Add page link to 'enabled-on-talk-page' notification
Bug: T121950
Depends-On: I1bc255627c9d9082a8bcd81758276c2358a784d6
Change-Id: I9f8c849cb7aebaab340ff29b48ed76c4015e0bb2
---
M includes/Notifications/FlowEnabledOnTalkpagePresentationModel.php
1 file changed, 9 insertions(+), 1 deletion(-)
Approvals:
Catrope: Looks good to me, approved
jenkins-bot: Verified
diff --git a/includes/Notifications/FlowEnabledOnTalkpagePresentationModel.php
b/includes/Notifications/FlowEnabledOnTalkpagePresentationModel.php
index 2be0f81..2e809d0 100644
--- a/includes/Notifications/FlowEnabledOnTalkpagePresentationModel.php
+++ b/includes/Notifications/FlowEnabledOnTalkpagePresentationModel.php
@@ -25,7 +25,15 @@
* @return array Empty array
*/
public function getSecondaryLinks() {
- return array();
+ return array(
+ array(
+ 'url' => $this->event->getTitle()->getFullURL(),
+ 'label' => $this->event->getTitle()->getText(),
+ 'description' => '',
+ 'icon' => 'userSpeechBubble',
+ 'prioritized' => true,
+ ),
+ );
}
public function getHeaderMessage() {
--
To view, visit https://gerrit.wikimedia.org/r/269411
To unsubscribe, visit https://gerrit.wikimedia.org/r/settings
Gerrit-MessageType: merged
Gerrit-Change-Id: I9f8c849cb7aebaab340ff29b48ed76c4015e0bb2
Gerrit-PatchSet: 2
Gerrit-Project: mediawiki/extensions/Flow
Gerrit-Branch: master
Gerrit-Owner: Sbisson <[email protected]>
Gerrit-Reviewer: Catrope <[email protected]>
Gerrit-Reviewer: Sbisson <[email protected]>
Gerrit-Reviewer: jenkins-bot <>
_______________________________________________
MediaWiki-commits mailing list
[email protected]
https://lists.wikimedia.org/mailman/listinfo/mediawiki-commits