Talk:Echo (Notifications)

Jump to: navigation, search

About this discussion

By clicking "Add topic", you agree to our Terms of Use and agree to irrevocably release your text under the CC BY-SA 3.0 License and GFDL
Quiddity (WMF) (talkcontribs)

Hi all. This page was recently converted as part of the first day of the Flow/LQT conversion process.

Please let us know any feedback, suggestions, or concerns, either here or at the main announcement topic.

I've heard one comment about there being too many notifications sent, and would like to get more feedback on that.

Thanks.

Quiddity (WMF) (talkcontribs)

Bug filed for getting too many notifications - phab:T98996 - they were only meant to show up for threads that we still had as "Unread" in our Special:NewMessages list. Apologies for the noise.

Reply to "LQT->Flow conversion"
Alex Stacey (talkcontribs)

Hi

I'm a bit confused whether I should install the Extension:Echo or if there's a new version being developed with the "Notifications" name. I can't find an extensions page for that. Any ideas?

Thanks

Quiddity (WMF) (talkcontribs)

Those are just different names for the same software. "Notifications" is just the informal-but-practical name, because "Echo" is so 'code-word-ish' for end-users.  :-)

Reply to "How can I install this extension?"

Mentions require signature with timestamp?

8
Summary by Nemo bis

Mention depends on message tracking, which is hacky and muddy (checks timestamps and other criteria) and is contantly being worked on for several bugs.

Darenwelsh (talkcontribs)

I've been testing this out on our corporate wiki (currently MW 1.23.2). It seems like for a mention to work, it has to include the wiki-link to the user page I'm mentioning followed by a wiki link to my user page AND a timestamp. Is that correct? I'm curious if it would be possible to make use of the functions that determine who made an edit and when (like what is used for the Recent Changes page) instead of relying on a signature. In my tests, even if I use both usernames in links (the "to" and "from"), but don't include a timestamp, it seems to not be recognized by Echo as a mention event.

Nemo bis (talkcontribs)

Yes, it's correct. There are also other checks, for instance if you remove a line then it's not considered a message so the mention doesn't go out.

Darenwelsh (talkcontribs)

Could you explain the reasoning behind using the link to user page and timestamp in the signature instead of the methods that are used to create Recent Changes?

Nemo bis (talkcontribs)

What are "the methods that are used to create Recent Changes"?

Darenwelsh (talkcontribs)

My point is that for every page revision, there is a record of who made the revision and when it happened. So why not use that information instead of relying on the signature? The way that it is working now, if your signature doesn't include a link to your user page, it doesn't work.

Nemo bis (talkcontribs)

The signature is "only" used to (help) determine whether an edit is a new message or not. The extension checks the edit in the moment it's saved, it doesn't parse the whole talk page looking for new messages if this is what you were "afraid" of.

This was decided in the specifications: Echo_(Notifications)/Feature_requirements#User Mention (I didn't make them).

Darenwelsh (talkcontribs)

I understand that the four tildes which generate the signature are used to signify that the revision is meant to be recognized by Echo as a notification. I could see how a user might want to correct a typo and would not want that showing up as a notification. I'm sure it could be overwhelming if every edit on that discussion page showed up as a notification.

That said, when you rely on using four tildes for this feature, it seems to require that the user's signature include a link to their user page. But if someone using MediaWiki with Echo chooses to use a signature that does not link to their user page, then Echo will not recognize those edits for notifications. An example of this: A user on SemanticMediawiki.org might set their signature to link to their user page on Mediawiki.org.

Similarly, I don't see why Echo requires a timestamp in the edit to qualify for notification. When the page is saved, the revision table is appended with an entry including rev_timestamp and rev_user. Why not just use that?

Why not just determine some minimum criteria based on number of characters added to the page or use some set of regular expressions to test that it was not just a typo correction?

Quiddity (WMF) (talkcontribs)

I believe the reason it checks for a tilde-generated signature and timestamp, are to avoid accidental pings during section-archives, or other types of thread-refactoring, e.g. here I moved a single thread to my talkpage archive.

I'll ask if the devs there were any other rationales for relying upon this trigger. [Edit: Confirmed. That is/was the main reason.]

Thanks Nemo, I didn't know about the no-line-removal criteria. I've added that to the Notes at Echo (Notifications)/Feature requirements#User Mention.

Reply to "Mentions require signature with timestamp?"

More than 2,000 Notifications, will start to be removed

4
Quiddity (WMF) (talkcontribs)

https://gerrit.wikimedia.org/r/#/c/159413/ - This update adds a script to delete any Notifications that are older than the most recent 2,000.

Up until now, they were stored indefinitely, meaning that some users have many thousands of read Notifications adding up in the database. 2,000 was chosen, because it is the number of Notifications that the "mark all as read" button effects.

Quiddity (WMF) (talkcontribs)

This change is mainly intended to reduce a performance bottleneck.

It will also enable future separation (perhaps even filtering) of the different types of Notification. There's a tangential discussion about some feature-requests related to this, at en:WP:VPI#Can we have a color scheme for the notifications count, please, and, if not, perhaps some other color than red? currently.

Ricordisamoa (talkcontribs)

What if I want to preserve important notifications and delete the newest instead?

Quiddity (WMF) (talkcontribs)

For indefinite preservation, I think the best option would probably be to enable the "email" preference for whichever notification types you want to keep records for.

Is there a particular type(s) of notifications that you're thinking of? Giving a few examples almost always helps. :)

Reply to "More than 2,000 Notifications, will start to be removed"
Kephir (talkcontribs)

Using web browsers for quite some time, I grew accustomed to having blue colour mean "I can click on this" and gray to mean "I cannot click on this". But here, it is precisely the opposite. I spent half a minute frantically clicking "Messages" to read the notification before it occurred to me to click on the other link. Who is responsible for this idiocy?

Quiddity (WMF) (talkcontribs)

I filed that as bugzilla:69929. I'll check to see what the status is. Thanks for the nudge.

Kephir (talkcontribs)

Also, when I get a notification on the "Alerts" tab, the "Alerts" tab should show up by default after clicking the notification button. No-brainer, really. Right now it always shows "Messages" by default.

Reply to "Colours of "Messages" and "Alerts" tabs"
Danmichaelo (talkcontribs)

Is there a JS API to add notifications? I'm maintaining a gadget that shows a message in my personal bar if there are any articles in a speedy deletion candidate category. It would be great if it could use Echo to show a notification instead. Is that possible?

Reply to "JavaScript API"

How to insert a JS hook after mw-echo-overlay?

5
Incnis Mrsi (talkcontribs)

There are no problems with running a personal script after downloading of the dedicated Special:Notifications page, but I do not know how to do it after downloading of the notifications popup as

<div style="display: block;" class="mw-echo-overlay"> </div>

It seems to me that hooks added with jQuery(document).ready() are not called then. There are docs at http://api.jquery.com/ but I am not a DHTML expert and can’t find easily the thing I need. Suggestions?

Legoktm (talkcontribs)

To clarify, are you trying to run some JavaScript after the flyout is shown? I don't think there is currently a way to do that, but we can add a hook point if you have a use-case for it.

Incnis Mrsi (talkcontribs)

Yes, I’m trying to run some JavaScript after "mw-echo-overlay" is shown. Of course, I have not access to the MediaWiki installation (it is Wikipedia).

Legoktm (talkcontribs)

Ok, turns out a hook for this already exists.

mw.hook('ext.echo.overlay.beforeShowingOverlay').add( function( $overlay ) {
// javascript you want to run
} );
Reply to "How to insert a JS hook after mw-echo-overlay?"

Create a notification for all users

4
Summary by Ricordisamoa
GenJack (talkcontribs)

Hello, i own a private Wiki and have a question for you guys: is it actually possible for admins/bureaucrats to create individual notifications that reach all users? This would be a nice feature to inform the community about the important stuff goin' on (like important discussions, new guidelines, elections etc.) regards, genjack

Nemo bis (talkcontribs)

No, it isn't. Such a feature has been developed as Extension:MassMessage, which doesn't use Echo yet because Echo has never figured out a way to be integrated with other stuff.

Legoktm (talkcontribs)

What you want is currently tracked as bugzilla:56361.

WhatamIdoing (talkcontribs)

I think this is a great idea. I'd love to be able to get messages to only groups of users, as well, like "To all admins, the deletion policy has changed significantly" (or whatever that particular community believes is appropriate to announce).

Reply to "Create a notification for all users"

Too many notifications sent by the Translate extension without any actual modification, to my mailbox

1
Jdforrester (WMF) (talkcontribs)

This post by Jdforrester (WMF) was moved on 2013-12-18. You can find it at Thread:Talk:Echo (Notifications)/Too many notifications sent by the Translate extension without any actual modification..

Reply to "Too many notifications sent by the Translate extension without any actual modification, to my mailbox"
Xusinboy Bekchanov (talkcontribs)

Needs global notifications

Reply to "Global notifications"