Sbisson has uploaded a new change for review.
https://gerrit.wikimedia.org/r/269411
Change subject: Add page link to 'enabled-on-talk-page' notification
......................................................................
Add page link to 'enabled-on-talk-page' notification
Bug: T121950
Change-Id: I9f8c849cb7aebaab340ff29b48ed76c4015e0bb2
---
M includes/Notifications/FlowEnabledOnTalkpagePresentationModel.php
1 file changed, 9 insertions(+), 1 deletion(-)
git pull ssh://gerrit.wikimedia.org:29418/mediawiki/extensions/Flow
refs/changes/11/269411/1
diff --git a/includes/Notifications/FlowEnabledOnTalkpagePresentationModel.php
b/includes/Notifications/FlowEnabledOnTalkpagePresentationModel.php
index 2be0f81..696008f 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->getViewingUserForGender(),
+ 'description' => '',
+ 'icon' => 'userAvatar',
+ '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: newchange
Gerrit-Change-Id: I9f8c849cb7aebaab340ff29b48ed76c4015e0bb2
Gerrit-PatchSet: 1
Gerrit-Project: mediawiki/extensions/Flow
Gerrit-Branch: master
Gerrit-Owner: Sbisson <[email protected]>
_______________________________________________
MediaWiki-commits mailing list
[email protected]
https://lists.wikimedia.org/mailman/listinfo/mediawiki-commits