Matthias Mullie has uploaded a new change for review. https://gerrit.wikimedia.org/r/275385
Change subject: Use same link for flow & flowusertalk summary notification ...................................................................... Use same link for flow & flowusertalk summary notification Per https://phabricator.wikimedia.org/T125119#2086639 Bug: T125119 Change-Id: Id504624a376110960ea103d92a56f2ee7b7670fb --- M includes/Notifications/SummaryEditedPresentationModel.php 1 file changed, 2 insertions(+), 8 deletions(-) git pull ssh://gerrit.wikimedia.org:29418/mediawiki/extensions/Flow refs/changes/85/275385/1 diff --git a/includes/Notifications/SummaryEditedPresentationModel.php b/includes/Notifications/SummaryEditedPresentationModel.php index 1290e74..c114ab4 100644 --- a/includes/Notifications/SummaryEditedPresentationModel.php +++ b/includes/Notifications/SummaryEditedPresentationModel.php @@ -20,16 +20,10 @@ } public function getSecondaryLinks() { - if ( $this->isBundled() ) { + if ( !$this->isBundled() ) { return array( $this->getBoardLink() ); } else { - $links = array( $this->getAgentLink() ); - if ( $this->isUserTalkPage() && $this->event->getExtraParam( 'prev-revision-id' ) !== null ) { - $links[] = $this->getDiffLink(); - } else { - $links[] = $this->getBoardLink(); - } - return $links; + return array( $this->getAgentLink(), $this->getBoardLink() ); } } -- To view, visit https://gerrit.wikimedia.org/r/275385 To unsubscribe, visit https://gerrit.wikimedia.org/r/settings Gerrit-MessageType: newchange Gerrit-Change-Id: Id504624a376110960ea103d92a56f2ee7b7670fb Gerrit-PatchSet: 1 Gerrit-Project: mediawiki/extensions/Flow Gerrit-Branch: master Gerrit-Owner: Matthias Mullie <[email protected]> _______________________________________________ MediaWiki-commits mailing list [email protected] https://lists.wikimedia.org/mailman/listinfo/mediawiki-commits
