Last modified: 2010-05-15 15:33:36 UTC
As an enhancement, all user preferences should be able to be set as site and
Currently DefaultSettings.php only has $wgDefaultSkin and maybe $wgAmericanDates.
Language.php has $wgDefaultUserOptionsEn, which seems to be incomplete, and
could be per user-language.
Note that languages can override the getDefaultUserOptions()
method to set additional or override global default
Changing subject line to concentrate on the site-specific setting
aspect, which I agree would be nice to do cleanly. Shouldn't be
too hard to add an override array.
Added $wgDefaultUserSettings array in 1.4:
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;