Ideally I would like to completely remove or hide the
Skin page link/tab
from User Preferences, too. Any Ideas how best to do that? Maybe with
CSS?
go in *includes\SpecialPreferences.php* and comment the lines
# Skin
#
$wgOut->addHTML( "<fieldset>\n<legend>\n" .
wfMsg('skin') . "</legend>\n" );
$mptitle = Title::newMainPage();
$previewtext = wfMsg('skinpreview');
# Only show members of $wgValidSkinNames rather than
# $skinNames (skins is all skin names from Language.php)
foreach ($wgValidSkinNames as $skinkey => $skinname ) {
if ( in_array( $skinkey, $wgSkipSkins ) ) {
continue;
}
$checked = $skinkey == $this->mSkin ? ' checked="checked"' :
'';
$sn = isset( $skinNames[$skinkey] ) ? $skinNames[$skinkey] : $skinname;
$mplink = htmlspecialchars($mptitle->getLocalURL("useskin=$skinkey"));
$previewlink = "<a target='_blank'
href=\"$mplink\">$previewtext</a>";
if( $skinkey == $wgDefaultSkin )
$sn .= ' (' . wfMsg( 'default' ) . ')';
$wgOut->addHTML( "<input type='radio' name='wpSkin'
id=\"wpSkin$skinkey\" value=\"$skinkey\"$checked /> <label
for=\"wpSkin$skinkey\">{$sn}</label> $previewlink<br/>\n"
);
}
$wgOut->addHTML( "</fieldset>\n\n" );