[Mediawiki-l] Default User Settings?

Benjamin FrantzDale frantzdale3i at gmail.com
Fri Apr 29 01:11:14 UTC 2005


I added this to LocalSettings.php and it worked:

$wgDefaultUserOptions['watchdefault'] = true;

Thanks.

--Ben

On 4/28/05, Brion Vibber <brion at pobox.com> wrote:
> 
> Benjamin FrantzDale wrote:
> > I've googeld and grepped, but no luck. I want to set the default options 
> for
> > new users. In particular I want new users to have "Add pages you edit to
> > your watchlist" set by default.
> >
> > How would I do this?
> 
> # Settings added to this array will override the language globals for
> # the user preferences used by anonymous visitors and newly created
> # accounts. (See names and sample values in languages/Language.php)
> #
> # For instance, to disable section editing links:
> # $wgDefaultUserOptions['editsection'] = 0;
> #
> $wgDefaultUserOptions = array();
> 
> -- brion vibber (brion @ pobox.com <http://pobox.com>)
> 
> 
> _______________________________________________
> MediaWiki-l mailing list
> MediaWiki-l at Wikimedia.org
> http://mail.wikipedia.org/mailman/listinfo/mediawiki-l
> 
> 
> 
>



More information about the MediaWiki-l mailing list