Hi everyone!
The Echo notifications are wonderfully good idea! Is it possible to create the Echo events inside my extensions? For example I want my voting extension to produce Echo notifications to the contributors of the article each time someone have voted for this article. ----- Yury Katkov, WikiVote
Yes. Take a look at how the PageTriage and OpenStackManager extensions do it (LiquidThreads used to but that functionality has not been updated for changes to Echo so I'm not sure that it still works). (Just grepping for 'Echo' should show you everything you need.)
I would consider carefully before creating such voting events however, it's unlikely that most contributors to an article will want to know about that.
Alex Monk
On Mon, Apr 22, 2013 at 6:41 PM, Yury Katkov katkov.juriy@gmail.com wrote:
Hi everyone!
The Echo notifications are wonderfully good idea! Is it possible to create the Echo events inside my extensions? For example I want my voting extension to produce Echo notifications to the contributors of the article each time someone have voted for this article.
Yury Katkov, WikiVote _______________________________________________ Wikitech-l mailing list Wikitech-l@lists.wikimedia.org https://lists.wikimedia.org/mailman/listinfo/wikitech-l
On Monday, April 22, 2013, Yury Katkov wrote:
Hi everyone!
The Echo notifications are wonderfully good idea! Is it possible to create the Echo events inside my extensions? For example I want my voting extension to produce Echo notifications to the contributors of the article each time someone have voted for this article.
Yury Katkov, WikiVote
Yep, we are doing the same thing inside Extension:GettingStarted.
Wikitech-l mailing list Wikitech-l@lists.wikimedia.org javascript:; https://lists.wikimedia.org/mailman/listinfo/wikitech-l
And Extension:Thanks http://www.mediawiki.org/wiki/Extension:Thanks. I probably should've mentioned this one before.
On Mon, Apr 22, 2013 at 6:57 PM, Steven Walling steven.walling@gmail.comwrote:
On Monday, April 22, 2013, Yury Katkov wrote:
Hi everyone!
The Echo notifications are wonderfully good idea! Is it possible to
create
the Echo events inside my extensions? For example I want my voting extension to produce Echo notifications to the contributors of the
article
each time someone have voted for this article.
Yury Katkov, WikiVote
Yep, we are doing the same thing inside Extension:GettingStarted.
Wikitech-l mailing list Wikitech-l@lists.wikimedia.org javascript:; https://lists.wikimedia.org/mailman/listinfo/wikitech-l
Wikitech-l mailing list Wikitech-l@lists.wikimedia.org https://lists.wikimedia.org/mailman/listinfo/wikitech-l
wikitech-l@lists.wikimedia.org