Catrope has uploaded a new change for review.
https://gerrit.wikimedia.org/r/293765
Change subject: Re-categorize notifications
......................................................................
Re-categorize notifications
alert->message:
gather-approve
Also explicitly specify 'alert' for gather-hide and gather-unhide.
Bug: T123018
Change-Id: Ice120cfa2c9eb94459a25d60808a727ff78aa5d3
Depends-On: I69ca536b1458b3edd59b3638a1991db0297afe2e
---
M includes/Gather.hooks.php
1 file changed, 3 insertions(+), 0 deletions(-)
git pull ssh://gerrit.wikimedia.org:29418/mediawiki/extensions/Gather
refs/changes/65/293765/1
diff --git a/includes/Gather.hooks.php b/includes/Gather.hooks.php
index 8a358c1..e2b1dcd 100644
--- a/includes/Gather.hooks.php
+++ b/includes/Gather.hooks.php
@@ -75,6 +75,7 @@
$notifications['gather-hide'] = array(
'category' => 'gather',
'group' => 'negative',
+ 'section' => 'alert',
'presentation-model' =>
'Gather\EchoGatherModerationHidePresentationModel',
'title-message' => 'gather-moderation-hidden',
'title-params' => array( 'title' ),
@@ -87,6 +88,7 @@
$notifications['gather-unhide'] = array(
'category' => 'gather',
'group' => 'positive',
+ 'section' => 'alert',
'presentation-model' =>
'Gather\EchoGatherModerationPresentationModel',
'title-message' => 'gather-moderation-unhidden',
'title-params' => array( 'title' ),
@@ -99,6 +101,7 @@
$notifications['gather-approve'] = array(
'category' => 'gather',
'group' => 'positive',
+ 'section' => 'message',
'presentation-model' =>
'Gather\EchoGatherModerationPresentationModel',
'title-message' => 'gather-moderation-approved',
'title-params' => array( 'title' ),
--
To view, visit https://gerrit.wikimedia.org/r/293765
To unsubscribe, visit https://gerrit.wikimedia.org/r/settings
Gerrit-MessageType: newchange
Gerrit-Change-Id: Ice120cfa2c9eb94459a25d60808a727ff78aa5d3
Gerrit-PatchSet: 1
Gerrit-Project: mediawiki/extensions/Gather
Gerrit-Branch: dev
Gerrit-Owner: Catrope <[email protected]>
_______________________________________________
MediaWiki-commits mailing list
[email protected]
https://lists.wikimedia.org/mailman/listinfo/mediawiki-commits