[Mediawiki-l] Hidden skin preference, but still skins are being changed

Chad innocentkiller at gmail.com
Wed Mar 7 00:01:00 UTC 2012


On Tue, Mar 6, 2012 at 6:36 PM, Pierre Labrecque
<pierre.labrecque at live.ca> wrote:
> $wgAllowUserSkin = false;
> replaced by (?) :
> $wgHiddenPrefs[] = 'chick', 'cologneblue', 'myskin', 'nostalgia', 'simple', 'standard', 'modern', 'monobook';
>

$wgHiddenPrefs is an array of preference keys, not values. So in
this case it would be skin, like the following:

$wgHiddenPrefs[] = 'skin';

$wgSkipSkins and $wgDefaultSkin haven't changed.

-Chad



More information about the MediaWiki-l mailing list