Last modified: 2006-12-18 08:55:15 UTC
Make array $wgDefaultUserOptions (in DefaultSetings.php) and array static public $mToggles (User.php) using the same set of options. Currently the list in DefaultSettings.php is only a subset of the available preferences for new accounts. For example, "rememberpassword" is present in both lists, but "watchdefault" is missing in $wgDefaultUserOptions in DefaultSetings.php. I suggest to add all $mToggles in the list in DefaultSettings.php to help MediaWiki installers to customize their settings for new accounts.
That's a list of options *which are toggles* to be handled by generic checkbox toggle code in Special:Preferences. Other options are not toggles of this type, but have special meaning and are handled by separate code.
(In reply to comment #1) > That's a list of options *which are toggles* to be handled by generic checkbox > toggle code in Special:Preferences. > > Other options are not toggles of this type, but have special meaning and are > handled by separate code. The default setting for new accounts for "watchdefault" is not set expressly; I expected this to happen in DefaultSettings.php.
There are also toggles which are not in $wgDefaultUserOptions, e.g. ccmeonemails or watchdeletion. They should be added.