Enable EchoPerUserBlacklist T150419: Allow users to restrict who can send them notifications on all Wikimedia wikis that have Echo enabled.
This can be done by adding this to LocalSettings:
$wgEchoPerUserBlacklist = true;
Enable EchoPerUserBlacklist T150419: Allow users to restrict who can send them notifications on all Wikimedia wikis that have Echo enabled.
This can be done by adding this to LocalSettings:
$wgEchoPerUserBlacklist = true;
Subject | Repo | Branch | Lines /- | |
---|---|---|---|---|
Enable wgEchoPerUserBlacklist at all wikis | operations/mediawiki-config | master | 2 -2 |
Status | Subtype | Assigned | Task | ||
---|---|---|---|---|---|
Resolved | • matmarex | T192147 Regression: Changes to email blacklist or muted users do not activate Save button in Preferences | |||
Resolved | dbarratt | T173973 Preferences/Notification, Save button stays disable when editing Block list | |||
Resolved | None | T164542 Epic: ⚡️ General user mute/block feature | |||
Resolved | • jmatazzoni | T150419 Allow users to restrict who can send them notifications | |||
Resolved | dbarratt | T173838 Enable EchoPerUserBlacklist on all Wikimedia wikis with Echo enabled | |||
Resolved | Johan | T168902 Ping Johan and Translators mailing list about Echo Notifications blacklist strings |
@kaldari Is there anything we need to do for this or will this be handled by Wikimedia-Extension-setup?
@dbarratt: Yes, we need to submit the configuration patch, schedule the deployment at https://wikitech.wikimedia.org/wiki/Deployments, and test immediately after the deployment. @Niharika can cover in more detail.
I wrote a bit on IRC earlier:
The ad-hoc deployments that happen on Wikimedia wikis are called SWAT deploys. They typically happen twice daily except on Friday (no SWAT deploys) and Tuesdays (no morning SWAT).
This is the deployment calendar: https://wikitech.wikimedia.org/wiki/Deployments Anything which cannot/should not go out as part of the weekly train has to be scheduled here.
All of the config code for what's deployed where can be found in the mediawiki-config repo. If you search for wgEchoPerUserBlacklist, you'll find it to be present in InitialiseSettings.php (warning: huge file!)
'wgEchoPerUserBlacklist' => [ 'default' => false, 'metawiki' => true, ],
That array defines where the feature is enabled. So you want to change that array to something like:
'wgEchoPerUserBlacklist' => [ 'default' => true, 'nonecho' => false, ],
'nonecho' is a dblist with a list of wikis where Echo is not enabled. So we'll skip any wiki without Echo when enabling this feature.
To start with, someone make the patch! (and claim this ticket if you're doing so)
There's no problem with submitting the patch for me :). Is this still waiting for T168902 ?
Change 373133 had a related patch set uploaded (by Urbanecm; owner: Urbanecm):
[operations/mediawiki-config@master] Enable wgEchoPerUserBlacklist at all wikis
I'm sorry then, I saw a task that I can do so I claimed&uploaded a patch :). I'll leave this task then.
You need to schedule this task on the Deployment calendar. There's two windows today - 1100 and 1600 PST. Pick the one when you're free.
Second, download the WikimediaDebug extension on Chrome (or FF).
Third, join the #wikimedia-operations channel and when the deployer asks you to test your patch on mwdebug1002, you turn on the extension and pick mwdebug1002 from the dropdown and test your change in production.
Ping me on IRC if something's not clear. :)
@dbarratt: Here's more detailed info on using the debug extensions: https://wikitech.wikimedia.org/wiki/X-Wikimedia-Debug
Don't you think this is kind of premature. Once we have it on multiple wikis, migrating to an global-only setting will become much harder.
Yes it will be more difficult to migrate if we build T167902: Build a unified, cross-wiki Mute feature for multiple types of on-wiki and email communication , but our team discussed and believe we can provide immediate value with two separate lists this quarter, evaluate how they are being used, then re-consider T167902.
Change 373133 merged by jenkins-bot:
[operations/mediawiki-config@master] Enable wgEchoPerUserBlacklist at all wikis
Mentioned in SAL (#wikimedia-operations) [2017-08-28T18:21:43Z] <niharika29@tin> Synchronized wmf-config/InitialiseSettings.php: Enable wgEchoPerUserBlacklist at all wikis T173838 (duration: 00m 43s)