chosen to disable user skins for the rest of the wiki. Req. by Alexfusco5."
Seems a little weird to me; I'm not quite sure the use case. :)
Comments on the revision note that it needs documentation as well, and the name is a bit weird. If it is needed/desireable it might be better to just replace $wgAllowUserSkin with a right 'useskin' or something.
if ( ! isset( $this->mSkin ) ) {
wfProfileIn( __METHOD__ );
- if( $wgAllowUserSkin || $this->isAllowed( 'alwaysuseskin' ) ) {
+ if( $wgAllowUserSkin ) {
# get the user skin
$userSkin = $this->getOption( 'skin' );
$userSkin = $wgRequest->getVal('useskin', $userSkin);
$wgUser->setOption( 'nickname', $this->mNick );
$wgUser->setOption( 'quickbar', $this->mQuickbar );
global $wgAllowUserSkin;
- if( $wgAllowUserSkin || $wgUser->isAllowed( 'alwaysuseskin' ) ) {
+ if( $wgAllowUserSkin ) {
$wgUser->setOption( 'skin', $this->mSkin );
}
global $wgUseTeX;