Display documentation for notification types configuration on Wikimedia
Closed, ResolvedPublic

Description

I asked:

where is the wikimedia config(s) for "which types of notifications are enabled by default, and whether web/email/both." ? I'm particularly interested in: 1) which types do not get sent by email (by default), and 2) the configuration variants between "existing vs new editors".

Matt replied:

$wgEchoDefaultNotificationTypes (which are available, e.g. 'Email from another user' does not let you get email notifications when you receive an email. The film ''Inception'' depicts what occurred when this malfunctioned).
$wgDefaultUserOptions["echo-subscriptions-...] (enabled by default, web, email, both, neither, etc.).
If you also want to know which can not be turned off (e.g. edit-user-talk is mandatory for web), no-dismiss on $wgEchoNotificationCategories
AddNewAccount/onAccountCreated for the variants between existing and new.
There is only one I could find that is Wikimedia-specific (as opposed to anyone with the extensions), thank-you-edit (the milestone notifications), due to to the bug.
It's disabled on web (and was never available for email (why, will file that?)).
I guess it's because you're on the site anyway, you know you just edited, and it could be considered spammy?
Although you could make the case it's good for re-activation and not too spammy since it's rare.
if you file a task I or someone else could make a script to present all that in human-readable form (good in case we change it).

Some of those seem to be in https://phabricator.wikimedia.org/diffusion/ECHO/browse/master/Echo.php
Some (and Echo configs) seem to be in (Warning, BROWSER FREEZING LINKS, even in github without the syntax highlighting) https://github.com/wikimedia/operations-mediawiki-config/blob/master/wmf-config/CommonSettings.php and https://github.com/wikimedia/operations-mediawiki-config/blob/master/wmf-config/InitialiseSettings.php

A good result would be

Quiddity created this task.Apr 8 2016, 3:27 AM
Restricted Application added a subscriber: Aklapper. · View Herald TranscriptApr 8 2016, 3:27 AM
Mattflaschen-WMF renamed this task from Update (and generate) centralized documentation for notification types configuration on Wikimedia to Display documentation for notification types configuration on Wikimedia.Apr 15 2016, 5:30 PM

I was thinking it would be better to make an unlisted special page for a few reasons:

If people feel it shouldn't be a special page, I can change it over. But I think this would be useful.

Change 284124 had a related patch set uploaded (by Mattflaschen):
WIP: BREAKING CHANGE: Change $wgEchoDefaultNotificationTypes to be logical

https://gerrit.wikimedia.org/r/284124

Change 284125 had a related patch set uploaded (by Mattflaschen):
Unlisted special page for displaying notification configuration

https://gerrit.wikimedia.org/r/284125

updates to https://www.mediawiki.org/wiki/Extension:Echo#Configuration

Done

I'll have to make one further update after it's fully merged (since I split a config variable).

Change 284124 merged by jenkins-bot:
BREAKING CHANGE: Change $wgEchoDefaultNotificationTypes to be logical

https://gerrit.wikimedia.org/r/284124

Change 284125 merged by jenkins-bot:
Unlisted special page for displaying notification configuration

https://gerrit.wikimedia.org/r/284125

Checked in betalabs (also checked T132820: Rationalize wgEchoDefaultNotificationTypes )

  • general regression for Echo notifications is done
In T132127#2237716, @Mattflaschen wrote:

You can see this at https://www.mediawiki.org/wiki/Special:DisplayNotificationsConfiguration (after the deployment tomorrow).

<3 Awesome!