Hi Abhinand, I don't think there is currently a way to trigger Echo notifications for a particular group. I don't think there is a standard method to get all members in a group either. To my knowledge there is limited occasions in core that all members are fetched, one of which is Special:ListUsers, and it seems to use raw database queries (see https://doc.wikimedia.org/mediawiki-core/master/php/UsersPager_8php_source.h... ). You would need to do that as well. BTW, it seems that what you are trying to do is a really expensive operation. If number of users are too large, Echo may not be able to handle them (I suppose). Best,Gary
From: abhinand4858@gmail.com Date: Sat, 25 Jun 2016 00:15:21 +0530 To: mediawiki-l@lists.wikimedia.org Subject: [MediaWiki-l] Trigger Echo notification to a user group
Hi everyone,
I am working on Extension for page creation/editing notifications https://phabricator.wikimedia.org/T128827. I have to trigger the Echo notification for a particular user group. Is there a way in which EchoEvent can sent the notification directly to a particular user. Can EchoEvent handle the usergroup at once ? If no, how can I get the users in the user group ?
Can anyone help me figure this out ?
Thanks & Regards
Abhinand N About http://www.abhinand7.me/ | Blog https://abhilovesto.wordpress.com/ | Github https://github.com/abhinand4858
*"Explore.Dream.Discover"* _______________________________________________ MediaWiki-l mailing list To unsubscribe, go to: https://lists.wikimedia.org/mailman/listinfo/mediawiki-l