jenkins-bot has submitted this change and it was merged.
Change subject: Move some flow notifications to other categories
......................................................................
Move some flow notifications to other categories
flowusertalk* => edit-user-talk
flow-mention => mention
flow-enabled-on-talkpage => system
Bug: T133220
Change-Id:I4e684df414ce6d8ab77131f70d4ee778dfdee1d1
---
M includes/Notifications/Notifications.php
1 file changed, 9 insertions(+), 0 deletions(-)
Approvals:
Catrope: Looks good to me, approved
jenkins-bot: Verified
diff --git a/includes/Notifications/Notifications.php
b/includes/Notifications/Notifications.php
index 214600c..21cacca 100644
--- a/includes/Notifications/Notifications.php
+++ b/includes/Notifications/Notifications.php
@@ -107,6 +107,7 @@
),
) + $newTopicNotification,
'flowusertalk-new-topic' => array(
+ 'category' => 'edit-user-talk',
'section' => 'alert',
'user-locators' => array(
'EchoUserLocator::locateTalkPageOwner',
@@ -126,6 +127,7 @@
),
) + $postReplyNotification,
'flowusertalk-post-reply' => array(
+ 'category' => 'edit-user-talk',
'section' => 'alert',
'user-locators' => array(
'EchoUserLocator::locateTalkPageOwner',
@@ -145,6 +147,7 @@
),
) + $postEditedNotification,
'flowusertalk-post-edited' => array(
+ 'category' => 'edit-user-talk',
'section' => 'alert',
'user-locators' => array(
'EchoUserLocator::locateTalkPageOwner',
@@ -164,6 +167,7 @@
),
) + $topicRenamedNotification,
'flowusertalk-topic-renamed' => array(
+ 'category' => 'edit-user-talk',
'section' => 'alert',
'user-locators' => array(
'EchoUserLocator::locateTalkPageOwner',
@@ -183,6 +187,7 @@
),
) + $summaryEditedNotification,
'flowusertalk-summary-edited' => array(
+ 'category' => 'edit-user-talk',
'section' => 'alert',
'user-locators' => array(
'EchoUserLocator::locateTalkPageOwner',
@@ -202,6 +207,7 @@
),
) + $descriptionEditedNotification,
'flowusertalk-description-edited' => array(
+ 'category' => 'edit-user-talk',
'section' => 'alert',
'user-locators' => array(
'EchoUserLocator::locateTalkPageOwner',
@@ -211,6 +217,7 @@
),
) + $descriptionEditedNotification,
'flow-mention' => array(
+ 'category' => 'mention',
'presentation-model' => 'Flow\\MentionPresentationModel',
'section' => 'alert',
'user-locators' => array(
@@ -229,6 +236,7 @@
'icon' => 'mention',
) + $notificationTemplate,
'flow-enabled-on-talkpage' => array(
+ 'category' => 'system',
'presentation-model' =>
'Flow\\FlowEnabledOnTalkpagePresentationModel',
'section' => 'message',
'user-locators' => array(
@@ -256,6 +264,7 @@
),
) + $topicResolvedNotification,
'flowusertalk-topic-resolved' => array(
+ 'category' => 'edit-user-talk',
'section' => 'alert',
'user-locators' => array(
'EchoUserLocator::locateTalkPageOwner',
--
To view, visit https://gerrit.wikimedia.org/r/314801
To unsubscribe, visit https://gerrit.wikimedia.org/r/settings
Gerrit-MessageType: merged
Gerrit-Change-Id: I4e684df414ce6d8ab77131f70d4ee778dfdee1d1
Gerrit-PatchSet: 5
Gerrit-Project: mediawiki/extensions/Flow
Gerrit-Branch: master
Gerrit-Owner: Kmuthu <[email protected]>
Gerrit-Reviewer: Catrope <[email protected]>
Gerrit-Reviewer: Krinkle <[email protected]>
Gerrit-Reviewer: jenkins-bot <>
_______________________________________________
MediaWiki-commits mailing list
[email protected]
https://lists.wikimedia.org/mailman/listinfo/mediawiki-commits