jenkins-bot has submitted this change and it was merged. 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(+), 5 deletions(-) Approvals: Catrope: Looks good to me, approved jenkins-bot: Verified 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..4a0b0a5 100644 --- a/includes/Notifications/PostReplyPresentationModel.php +++ b/includes/Notifications/PostReplyPresentationModel.php @@ -2,8 +2,6 @@ namespace Flow; -use Flow\Model\UUID; - class PostReplyPresentationModel extends FlowPresentationModel { public function getIconType() { @@ -33,9 +31,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: merged Gerrit-Change-Id: Ifd88f81e86c0211fbca1f577723c0e7f8fd20749 Gerrit-PatchSet: 2 Gerrit-Project: mediawiki/extensions/Flow Gerrit-Branch: master Gerrit-Owner: Sbisson <sbis...@wikimedia.org> Gerrit-Reviewer: Catrope <roan.katt...@gmail.com> Gerrit-Reviewer: Sbisson <sbis...@wikimedia.org> Gerrit-Reviewer: jenkins-bot <> _______________________________________________ MediaWiki-commits mailing list MediaWiki-commits@lists.wikimedia.org https://lists.wikimedia.org/mailman/listinfo/mediawiki-commits