Last modified: 2006-12-18 08:55:15 UTC

Wikimedia Bugzilla is closed!

Wikimedia migrated from Bugzilla to Phabricator. Bug reports are handled in Wikimedia Phabricator.
This static website is read-only and for historical purposes. It is not possible to log in and except for displaying bug reports and their history, links might be broken. See T10299, the corresponding Phabricator task for complete and up-to-date bug report information.
Bug 8299 - make array $wgDefaultUserOptions (in DefaultSetings.php) and array static public $mToggles (User.php) using the same set of options
make array $wgDefaultUserOptions (in DefaultSetings.php) and array static pub...
Status: RESOLVED INVALID
Product: MediaWiki
Classification: Unclassified
User preferences (Other open bugs)
unspecified
All All
: Normal trivial (vote)
: ---
Assigned To: Nobody - You can work on this!
: easy
Depends on:
Blocks:
  Show dependency treegraph
 
Reported: 2006-12-18 01:55 UTC by T. Gries
Modified: 2006-12-18 08:55 UTC (History)
0 users

See Also:
Web browser: ---
Mobile Platform: ---
Assignee Huggle Beta Tester: ---


Attachments

Description T. Gries 2006-12-18 01:55:43 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.
Comment 1 Brion Vibber 2006-12-18 04:51:27 UTC
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.
Comment 2 T. Gries 2006-12-18 06:46:33 UTC
(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.
Comment 3 Rotem Liss 2006-12-18 08:55:15 UTC
There are also toggles which are not in $wgDefaultUserOptions, e.g. ccmeonemails
or watchdeletion. They should be added.

Note You need to log in before you can comment on or make changes to this bug.


Navigation
Links