On Wed, Sep 17, 2008 at 10:08 AM, Sullivan, James (NIH/CIT) [C] <
sullivan(a)mail.nih.gov> wrote:
Setting those to true should only make the option
available, unchecked,
in the user preference. For example, if you set them to false, the
options would disappear from the user preference. By making them true,
they are now available to be checked, but by default are unchecked. I
don't know if there is a way to make them checked by default.
-Jim
-----Original Message-----
From: david [mailto:dvd@enlloc.org]
Sent: Wednesday, September 17, 2008 10:02 AM
To: MediaWiki announcements and site admin list
Subject: [Mediawiki-l] Enotif by default
Hi;
I want to define by default some Email notification settings in my
MW-wiki.
I want "user talk" and "watchlist" notifications to be checked by
default in users preferences page.
I have in Localsettings.php:
$wgEnableEmail = true;
$wgEnableUserEmail = true;
$wgEmailAuthentication = true;
$wgEnotifUserTalk = true; # UPO
$wgEnotifWatchlist = true; # UPO
And in includes/DefaultSettings.php :
$wgEmailAuthentication = true; # UPO
$wgEnotifWatchlist = true; # UPO
$wgEnotifUserTalk = true;
Maybe I've something wrong?
Thanks,
dvdgmz
Use $wgDefaultUserOptions <
http://www.mediawiki.org/wiki/Manual:$wgDefaultUserOptions>gt;.