On Mon, 04 Apr 2011 15:16:21 -0700, Brion Vibber wrote:

> On Mon, Apr 4, 2011 at 2:11 PM, Dan Nessett <[email protected]> wrote:
> 
>> Right now the way we handle this problem is to reset the password for
>> the user causing the bounces, login to the account and deselect all
>> email notification options in preferences. However, it would be better
>> if we could just reset the email preferences on all inactive accounts.
>> Is there anyway of doing this other than resetting the password on each
>> account (of which there are many)? We run 1.16.2 on this small wiki.
>>
>>
> You should be able to do this with maintenance/userOptions.php on the
> command line:
> 
> http://www.mediawiki.org/wiki/Manual:UserOptions.php
> 
> something like this to see who's got things enabled:
>     php userOptions.php enotifwatchlistpages --usage
> 
> and to disable active ones:
>     php userOptions.php enotifwatchlistpages --old 1 --new 0
> 
> -- brion

According to the documentation in User.php, the array mToggles contains 
the names of all the toggles in user preferences. I could find all 
related to user email except "Enable email from other users." Does it 
have a non-obvious name or does it exist in some other array?

-- 
-- Dan Nessett


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

Reply via email to