Sbisson has uploaded a new change for review.
https://gerrit.wikimedia.org/r/269412
Change subject: Add page link to 'replied' and 'edited' notifications
......................................................................
Add page link to 'replied' and 'edited' notifications
Bug: T121950
Change-Id: Ifd88f81e86c0211fbca1f577723c0e7f8fd20749
---
M includes/Notifications/PostEditedPresentationModel.php
M includes/Notifications/PostReplyPresentationModel.php
2 files changed, 3 insertions(+), 3 deletions(-)
git pull ssh://gerrit.wikimedia.org:29418/mediawiki/extensions/Flow
refs/changes/12/269412/1
diff --git a/includes/Notifications/PostEditedPresentationModel.php
b/includes/Notifications/PostEditedPresentationModel.php
index 2aa377f..91c5dd5 100644
--- a/includes/Notifications/PostEditedPresentationModel.php
+++ b/includes/Notifications/PostEditedPresentationModel.php
@@ -25,7 +25,7 @@
if ( $this->isBundled() ) {
return array( $this->getBoardLink() );
} else {
- return array( $this->getAgentLink() );
+ return array( $this->getAgentLink(),
$this->getBoardLink() );
}
}
diff --git a/includes/Notifications/PostReplyPresentationModel.php
b/includes/Notifications/PostReplyPresentationModel.php
index 145f7ac..4c87766 100644
--- a/includes/Notifications/PostReplyPresentationModel.php
+++ b/includes/Notifications/PostReplyPresentationModel.php
@@ -33,9 +33,9 @@
public function getSecondaryLinks() {
if ( $this->isBundled() ) {
- return array( $this->getBoardByNewestLink() );
+ return array( $this->getBoardLink() );
} else {
- return array( $this->getAgentLink() );
+ return array( $this->getAgentLink(),
$this->getBoardLink() );
}
}
--
To view, visit https://gerrit.wikimedia.org/r/269412
To unsubscribe, visit https://gerrit.wikimedia.org/r/settings
Gerrit-MessageType: newchange
Gerrit-Change-Id: Ifd88f81e86c0211fbca1f577723c0e7f8fd20749
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