Last modified: 2009-07-09 19:57:45 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 T21607, the corresponding Phabricator task for complete and up-to-date bug report information.
Bug 19607 - User Prefs not accessable if $wgDefaultUserOptions is used.
User Prefs not accessable if $wgDefaultUserOptions is used.
Status: RESOLVED INVALID
Product: MediaWiki
Classification: Unclassified
User preferences (Other open bugs)
1.16.x
All All
: Normal critical (vote)
: ---
Assigned To: Nobody - You can work on this!
:
Depends on:
Blocks:
  Show dependency treegraph
 
Reported: 2009-07-08 22:02 UTC by Subfader
Modified: 2009-07-09 19:57 UTC (History)
2 users (show)

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


Attachments

Description Subfader 2009-07-08 22:02:16 UTC
In MW 1.16alpha accessing your user prefs returns an error if $wgDefaultUserOptions is used (no matter which, I had many but it also happened with just 1). Error:

Global default is invalid for field gender
 
Backtrace:
 
#0 ...\includes\Preferences.php(1066): Preferences::getPreferences(Object(User))
#1 ...\includes\specials\SpecialPreferences.php(43): Preferences::getFormObject(Object(User))
#2 ...\includes\SpecialPage.php(559): SpecialPreferences->execute(NULL)
#3 ...\includes\Wiki.php(233): SpecialPage::executePath(Object(Title))
#4 ...\includes\Wiki.php(62): MediaWiki->initializeSpecialCases(Object(Title), Object(OutputPage), Object(WebRequest))
#5 ...\index.php(116): MediaWiki->initialize(Object(Title), NULL, Object(OutputPage), Object(User), Object(WebRequest))
#6 {main}
Comment 1 Andrew Garrett 2009-07-09 19:57:45 UTC
Add to $wgDefaultUserOptions, don't replace it or this will happen.

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


Navigation
Links