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

Wikimedia Bugzilla is closed!

Wikimedia has migrated from Bugzilla to Phabricator. Bug reports should be created and updated in Wikimedia Phabricator instead. Please create an account in Phabricator and add your Bugzilla email address to it.
Wikimedia Bugzilla is read-only. If you try to edit or create any bug report in Bugzilla you will be shown an intentional error message.
In order to access the Phabricator task corresponding to a Bugzilla report, just remove "static-" from its URL.
You could still run searches in Bugzilla or access your list of votes but bug reports will obviously not be up-to-date in Bugzilla.
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