Index: trunk/phase3/includes/specials/SpecialPreferences.php |
— | — | @@ -783,7 +783,7 @@ |
784 | 784 | } else { |
785 | 785 | # Need to output a hidden option even if the relevant skin is not in use, |
786 | 786 | # otherwise the preference will get reset to 0 on submit |
787 | | - $wgOut->addHTML( wfHidden( 'wpQuickbar', $this->mQuickbar ) ); |
| 787 | + $wgOut->addHTML( Xml::hidden( 'wpQuickbar', $this->mQuickbar ) ); |
788 | 788 | } |
789 | 789 | |
790 | 790 | # Skin |
— | — | @@ -807,7 +807,7 @@ |
808 | 808 | foreach ($validSkinNames as $skinkey => $sn ) { |
809 | 809 | $checked = $skinkey == $this->mSkin ? ' checked="checked"' : ''; |
810 | 810 | $mplink = htmlspecialchars($mptitle->getLocalURL("useskin=$skinkey")); |
811 | | - $previewlink = $wgAllowUserSkin ? "(<a target='_blank' href=\"$mplink\">$previewtext</a>)" : ''; |
| 811 | + $previewlink = "(<a target='_blank' href=\"$mplink\">$previewtext</a>)"; |
812 | 812 | if( $skinkey == $wgDefaultSkin ) |
813 | 813 | $sn .= ' (' . wfMsg( 'default' ) . ')'; |
814 | 814 | $wgOut->addHTML( "<input type='radio' name='wpSkin' id=\"wpSkin$skinkey\" value=\"$skinkey\"$checked /> <label for=\"wpSkin$skinkey\">{$sn}</label> $previewlink<br />\n" ); |