Forgive me Benjamin, I had not seen your message. With $wgDefaultUserOptions I have been able to set the email notifications and other user preferences for new users.
Thanks a lot.
-Dvdgmz
El dc 17 de 09 del 2008 a les 15:05 -0400, en/na Benjamin Lees va escriure:
On Wed, Sep 17, 2008 at 10:08 AM, Sullivan, James (NIH/CIT) [C] < sullivan@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%3E. _______________________________________________ MediaWiki-l mailing list MediaWiki-l@lists.wikimedia.org https://lists.wikimedia.org/mailman/listinfo/mediawiki-l