[MediaWiki-commits] [Gerrit] Add page link to 'replied' and 'edited' notifications - change (mediawiki...Flow)
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: SbissonGerrit-Reviewer: Catrope Gerrit-Reviewer: Sbisson Gerrit-Reviewer: jenkins-bot <> ___ MediaWiki-commits mailing list MediaWiki-commits@lists.wikimedia.org https://lists.wikimedia.org/mailman/listinfo/mediawiki-commits
[MediaWiki-commits] [Gerrit] Add page link to 'replied' and 'edited' notifications - change (mediawiki...Flow)
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___ MediaWiki-commits mailing list MediaWiki-commits@lists.wikimedia.org https://lists.wikimedia.org/mailman/listinfo/mediawiki-commits