[MediaWiki-commits] [Gerrit] mediawiki...BlueSpiceExtensions[REL1_27]: PageAssignments: Added page link to notifications
jenkins-bot has submitted this change and it was merged. ( https://gerrit.wikimedia.org/r/371011 ) Change subject: PageAssignments: Added page link to notifications .. PageAssignments: Added page link to notifications Change-Id: Ice27eb665f4a30916e6b1a7346e89901350c4482 --- M PageAssignments/includes/PageAssignmentsNotificationHooks.php 1 file changed, 6 insertions(+), 3 deletions(-) Approvals: Pwirth: Looks good to me, approved jenkins-bot: Verified diff --git a/PageAssignments/includes/PageAssignmentsNotificationHooks.php b/PageAssignments/includes/PageAssignmentsNotificationHooks.php index c19523a..621237e 100644 --- a/PageAssignments/includes/PageAssignmentsNotificationHooks.php +++ b/PageAssignments/includes/PageAssignmentsNotificationHooks.php @@ -18,7 +18,8 @@ BSNotifications::registerNotificationCategory( 'bs-pageassignments-action-cat' ); $aExtraParams = array( - 'formatter-class' => 'PageAssignmentsNotificationFormatter' + 'formatter-class' => 'PageAssignmentsNotificationFormatter', + 'primary-link' => array( 'message' => 'notification-link-text-view-page', 'destination' => 'title' ) ); BSNotifications::registerNotification( @@ -29,7 +30,8 @@ 'notification-bs-pageassignments-assignment-change-add-subject', array('agent', 'title', 'titlelink'), 'notification-bs-pageassignments-assignment-change-add-body', - array('agent', 'title', 'titlelink') + array('agent', 'title', 'titlelink'), + $aExtraParams ); BSNotifications::registerNotification( @@ -40,7 +42,8 @@ 'notification-bs-pageassignments-assignment-change-remove-subject', array('agent', 'title', 'titlelink'), 'notification-bs-pageassignments-assignment-change-remove-body', - array('agent', 'title', 'titlelink') + array('agent', 'title', 'titlelink'), + $aExtraParams ); BSNotifications::registerNotification( -- To view, visit https://gerrit.wikimedia.org/r/371011 To unsubscribe, visit https://gerrit.wikimedia.org/r/settings Gerrit-MessageType: merged Gerrit-Change-Id: Ice27eb665f4a30916e6b1a7346e89901350c4482 Gerrit-PatchSet: 1 Gerrit-Project: mediawiki/extensions/BlueSpiceExtensions Gerrit-Branch: REL1_27 Gerrit-Owner: Pwirth Gerrit-Reviewer: Pwirth Gerrit-Reviewer: Robert Vogel Gerrit-Reviewer: jenkins-bot <> ___ MediaWiki-commits mailing list MediaWiki-commits@lists.wikimedia.org https://lists.wikimedia.org/mailman/listinfo/mediawiki-commits
[MediaWiki-commits] [Gerrit] mediawiki...BlueSpiceExtensions[REL1_27]: PageAssignments: Added page link to notifications
Pwirth has uploaded a new change for review. ( https://gerrit.wikimedia.org/r/371011 ) Change subject: PageAssignments: Added page link to notifications .. PageAssignments: Added page link to notifications Change-Id: Ice27eb665f4a30916e6b1a7346e89901350c4482 --- M PageAssignments/includes/PageAssignmentsNotificationHooks.php 1 file changed, 6 insertions(+), 3 deletions(-) git pull ssh://gerrit.wikimedia.org:29418/mediawiki/extensions/BlueSpiceExtensions refs/changes/11/371011/1 diff --git a/PageAssignments/includes/PageAssignmentsNotificationHooks.php b/PageAssignments/includes/PageAssignmentsNotificationHooks.php index c19523a..621237e 100644 --- a/PageAssignments/includes/PageAssignmentsNotificationHooks.php +++ b/PageAssignments/includes/PageAssignmentsNotificationHooks.php @@ -18,7 +18,8 @@ BSNotifications::registerNotificationCategory( 'bs-pageassignments-action-cat' ); $aExtraParams = array( - 'formatter-class' => 'PageAssignmentsNotificationFormatter' + 'formatter-class' => 'PageAssignmentsNotificationFormatter', + 'primary-link' => array( 'message' => 'notification-link-text-view-page', 'destination' => 'title' ) ); BSNotifications::registerNotification( @@ -29,7 +30,8 @@ 'notification-bs-pageassignments-assignment-change-add-subject', array('agent', 'title', 'titlelink'), 'notification-bs-pageassignments-assignment-change-add-body', - array('agent', 'title', 'titlelink') + array('agent', 'title', 'titlelink'), + $aExtraParams ); BSNotifications::registerNotification( @@ -40,7 +42,8 @@ 'notification-bs-pageassignments-assignment-change-remove-subject', array('agent', 'title', 'titlelink'), 'notification-bs-pageassignments-assignment-change-remove-body', - array('agent', 'title', 'titlelink') + array('agent', 'title', 'titlelink'), + $aExtraParams ); BSNotifications::registerNotification( -- To view, visit https://gerrit.wikimedia.org/r/371011 To unsubscribe, visit https://gerrit.wikimedia.org/r/settings Gerrit-MessageType: newchange Gerrit-Change-Id: Ice27eb665f4a30916e6b1a7346e89901350c4482 Gerrit-PatchSet: 1 Gerrit-Project: mediawiki/extensions/BlueSpiceExtensions Gerrit-Branch: REL1_27 Gerrit-Owner: Pwirth Gerrit-Reviewer: Robert Vogel ___ MediaWiki-commits mailing list MediaWiki-commits@lists.wikimedia.org https://lists.wikimedia.org/mailman/listinfo/mediawiki-commits