https://bugzilla.wikimedia.org/show_bug.cgi?id=28026

--- Comment #60 from Roan Kattouw <[email protected]> 2012-05-08 17:44:44 
UTC ---
Nemo_bis and I had an IRC conversation just now where we hashed out how this
could be enabled by default for new users (but not existing ones):

1) Add (or hack in) a MW config var that makes it so the enotifwatchlistpages
preference is visible, but not functional (i.e. enabling it doesn't actually
cause e-mails to be sent). This will stop watchlist e-mail notifs (similar to
disabling $wgEnotifWatchlist) but preserve the preference
2) Enable this config var
3) Compile a list of users that have the preference enabled
4) Set $wgDefaultUserOptions['enotifwatchlistpages'] = 1; . The preference is
now enabled for all users, but because it's not functional, there is no deluge
of e-mail notifications overwhelming our mail system
5) Using a maintenance script, set the preference to 0 for each user
individually, excluding users that already had it enabled (from the list made
in step 3) and invalidating the user cache for each user that it touches.
Running this will probably take a while (a few hours?) on a large wiki like
enwiki
6) Undo step 2 (disable the config var). The preference is now functional again
and enabled for the same set of users, but it will now also be enabled by
default for new users

-- 
Configure bugmail: https://bugzilla.wikimedia.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are on the CC list for the bug.

_______________________________________________
Wikibugs-l mailing list
[email protected]
https://lists.wikimedia.org/mailman/listinfo/wikibugs-l

Reply via email to