Matěj Suchánek has uploaded a new change for review. (
https://gerrit.wikimedia.org/r/351294 )
Change subject: [DNM] Fix default option key for Echo notifications
......................................................................
[DNM] Fix default option key for Echo notifications
The option keys are based notification categories, not types.
Change-Id: Ia7cb9bff990434d031ac89b8354edb38ed33fc22
---
M client/includes/Hooks/EchoNotificationsHandlers.php
1 file changed, 1 insertion(+), 1 deletion(-)
git pull ssh://gerrit.wikimedia.org:29418/mediawiki/extensions/Wikibase
refs/changes/94/351294/1
diff --git a/client/includes/Hooks/EchoNotificationsHandlers.php
b/client/includes/Hooks/EchoNotificationsHandlers.php
index c193344..50dd0e2 100644
--- a/client/includes/Hooks/EchoNotificationsHandlers.php
+++ b/client/includes/Hooks/EchoNotificationsHandlers.php
@@ -169,7 +169,7 @@
* @param bool[] &$defaultOptions Array of preference keys and their
default values.
*/
public static function onUserGetDefaultOptions( array &$defaultOptions
) {
- $defaultOptions['echo-subscriptions-web-' .
self::NOTIFICATION_TYPE] = true;
+ $defaultOptions['echo-subscriptions-web-wikibase-action'] =
true;
}
/**
--
To view, visit https://gerrit.wikimedia.org/r/351294
To unsubscribe, visit https://gerrit.wikimedia.org/r/settings
Gerrit-MessageType: newchange
Gerrit-Change-Id: Ia7cb9bff990434d031ac89b8354edb38ed33fc22
Gerrit-PatchSet: 1
Gerrit-Project: mediawiki/extensions/Wikibase
Gerrit-Branch: master
Gerrit-Owner: Matěj Suchánek <[email protected]>
_______________________________________________
MediaWiki-commits mailing list
[email protected]
https://lists.wikimedia.org/mailman/listinfo/mediawiki-commits