Index: trunk/phase3/includes/specials/SpecialPreferences.php |
— | — | @@ -835,38 +835,32 @@ |
836 | 836 | # Skin |
837 | 837 | # |
838 | 838 | global $wgAllowUserSkin; |
839 | | - |
840 | | - if( !$wgAllowUserSkin ) { |
841 | | - $wgOut->addHTML( "<p><em>" . wfMsg('skin-override') . "</em></p>" ); |
842 | | - } |
843 | | - |
844 | | - $wgOut->addHTML( "<fieldset>\n<legend>\n" . wfMsg('skin') . "</legend>\n" ); |
845 | | - $mptitle = Title::newMainPage(); |
846 | | - $previewtext = wfMsg('skin-preview'); |
847 | | - # Only show members of Skin::getSkinNames() rather than |
848 | | - # $skinNames (skins is all skin names from Language.php) |
849 | | - $validSkinNames = Skin::getUsableSkins(); |
850 | | - # Sort by UI skin name. First though need to update validSkinNames as sometimes |
851 | | - # the skinkey & UI skinname differ (e.g. "standard" skinkey is "Classic" in the UI). |
852 | | - foreach ($validSkinNames as $skinkey => & $skinname ) { |
853 | | - if ( isset( $skinNames[$skinkey] ) ) { |
854 | | - $skinname = $skinNames[$skinkey]; |
| 839 | + if( $wgAllowUserSkin ) { |
| 840 | + $wgOut->addHTML( "<fieldset>\n<legend>\n" . wfMsg('skin') . "</legend>\n" ); |
| 841 | + $mptitle = Title::newMainPage(); |
| 842 | + $previewtext = wfMsg('skin-preview'); |
| 843 | + # Only show members of Skin::getSkinNames() rather than |
| 844 | + # $skinNames (skins is all skin names from Language.php) |
| 845 | + $validSkinNames = Skin::getUsableSkins(); |
| 846 | + # Sort by UI skin name. First though need to update validSkinNames as sometimes |
| 847 | + # the skinkey & UI skinname differ (e.g. "standard" skinkey is "Classic" in the UI). |
| 848 | + foreach ($validSkinNames as $skinkey => & $skinname ) { |
| 849 | + if ( isset( $skinNames[$skinkey] ) ) { |
| 850 | + $skinname = $skinNames[$skinkey]; |
| 851 | + } |
855 | 852 | } |
| 853 | + asort($validSkinNames); |
| 854 | + foreach ($validSkinNames as $skinkey => $sn ) { |
| 855 | + $checked = $skinkey == $this->mSkin ? ' checked="checked"' : ''; |
| 856 | + $mplink = htmlspecialchars($mptitle->getLocalURL("useskin=$skinkey")); |
| 857 | + $previewlink = $wgAllowUserSkin ? "(<a target='_blank' href=\"$mplink\">$previewtext</a>)" : ''; |
| 858 | + if( $skinkey == $wgDefaultSkin ) |
| 859 | + $sn .= ' (' . wfMsg( 'default' ) . ')'; |
| 860 | + $wgOut->addHTML( "<input type='radio' name='wpSkin' id=\"wpSkin$skinkey\" value=\"$skinkey\"$checked /> <label for=\"wpSkin$skinkey\">{$sn}</label> $previewlink<br />\n" ); |
| 861 | + } |
| 862 | + $wgOut->addHTML( "</fieldset>\n\n" ); |
856 | 863 | } |
857 | | - asort($validSkinNames); |
858 | | - foreach ($validSkinNames as $skinkey => $sn ) { |
859 | | - $checked = $skinkey == $this->mSkin ? ' checked="checked"' : ''; |
860 | | - |
861 | | - $checked = $wgAllowUserSkin ? $checked . '' : $checked . ' disabled=\'disabled\''; |
862 | 864 | |
863 | | - $mplink = htmlspecialchars($mptitle->getLocalURL("useskin=$skinkey")); |
864 | | - $previewlink = $wgAllowUserSkin ? "(<a target='_blank' href=\"$mplink\">$previewtext</a>)" : ''; |
865 | | - if( $skinkey == $wgDefaultSkin ) |
866 | | - $sn .= ' (' . wfMsg( 'default' ) . ')'; |
867 | | - $wgOut->addHTML( "<input type='radio' name='wpSkin' id=\"wpSkin$skinkey\" value=\"$skinkey\"$checked /> <label for=\"wpSkin$skinkey\">{$sn}</label> $previewlink<br />\n" ); |
868 | | - } |
869 | | - $wgOut->addHTML( "</fieldset>\n\n" ); |
870 | | - |
871 | 865 | # Math |
872 | 866 | # |
873 | 867 | global $wgUseTeX; |
Index: trunk/phase3/languages/messages/MessagesQu.php |
— | — | @@ -952,7 +952,6 @@ |
953 | 953 | 'qbsettings-floatingright' => 'Pañaman tuytuy', |
954 | 954 | 'changepassword' => 'Yaykuna rimata hukchay', |
955 | 955 | 'skin' => 'Qara', |
956 | | -'skin-override' => "Kay hunt'ana p'anqaqa manam saqillasqachu kachkan, kay wiki ruraqpa qara allinchasqankunata kamachiqpa churasqan kikinmanta qarawan huknachaptinmi.", |
957 | 956 | 'skin-preview' => 'Ñawpaqta qhaway', |
958 | 957 | 'math' => 'Minuywa', |
959 | 958 | 'dateformat' => "P'unchaw pacha chanta", |
Index: trunk/phase3/languages/messages/MessagesHe.php |
— | — | @@ -1209,7 +1209,6 @@ |
1210 | 1210 | 'qbsettings-floatingright' => 'צף מימין', |
1211 | 1211 | 'changepassword' => 'שינוי סיסמה', |
1212 | 1212 | 'skin' => 'עיצוב', |
1213 | | -'skin-override' => 'טופס זה אינו פעיל, כיוון שבאתר ויקי זה נקבע העיצוב על ידי מנהל האתר, והמשתמשים אינם יכולים לשנותו.', |
1214 | 1213 | 'skin-preview' => 'תצוגה מקדימה', |
1215 | 1214 | 'math' => 'נוסחאות מתמטיות', |
1216 | 1215 | 'dateformat' => 'מבנה תאריך', |
Index: trunk/phase3/languages/messages/MessagesHu.php |
— | — | @@ -1177,7 +1177,6 @@ |
1178 | 1178 | 'qbsettings-floatingright' => 'Lebegő jobboldali', |
1179 | 1179 | 'changepassword' => 'Jelszócsere', |
1180 | 1180 | 'skin' => 'Felület', |
1181 | | -'skin-override' => 'A felület nem módosítható, mert a wiki adminisztrátora álltja be az alapértelmezett kinézetet.', |
1182 | 1181 | 'skin-preview' => 'előnézet', |
1183 | 1182 | 'math' => 'Képletek', |
1184 | 1183 | 'dateformat' => 'Dátum formátuma', |
Index: trunk/phase3/languages/messages/MessagesKsh.php |
— | — | @@ -1202,7 +1202,6 @@ |
1203 | 1203 | 'qbsettings-floatingright' => 'Am rächte Rand am Schwevve', |
1204 | 1204 | 'changepassword' => 'Passwood ändere', |
1205 | 1205 | 'skin' => 'Et Ussinn', |
1206 | | -'skin-override' => 'Di Ußwahl eß affjeschlldt, weil mer alß Metmaacher hee en dämm Wiki sing Ovverfläsh nit ußsöhke kann. Dat määt dä Wiki-Köbes.', |
1207 | 1206 | 'skin-preview' => 'Vör-Ansich', |
1208 | 1207 | 'math' => 'Mathematisch Formele', |
1209 | 1208 | 'dateformat' => 'Em Datum sing Fomat', |
Index: trunk/phase3/languages/messages/MessagesSzl.php |
— | — | @@ -873,7 +873,6 @@ |
874 | 874 | 'qbsettings-floatingright' => 'Unošůncy śe, s prawyj', |
875 | 875 | 'changepassword' => 'Zmjana hasua', |
876 | 876 | 'skin' => 'Skůrka', |
877 | | -'skin-override' => 'Formulař je wyuůnčůny skiž tygo, co admińistrator tyj Wiki naštalowou yno jydna skůrka.', |
878 | 877 | 'skin-preview' => 'podglůnd', |
879 | 878 | 'math' => 'Wzory', |
880 | 879 | 'dateformat' => 'Format daty', |
Index: trunk/phase3/languages/messages/MessagesHr.php |
— | — | @@ -1181,7 +1181,6 @@ |
1182 | 1182 | 'qbsettings-floatingright' => 'Desno leteće', |
1183 | 1183 | 'changepassword' => 'Promjena lozinke', |
1184 | 1184 | 'skin' => 'Izgled', |
1185 | | -'skin-override' => 'Ovaj obrazac je isključen, jer ova wiki premošćuje osobne suradničke postavke izgleda s glavnim izgledom postavljenim od strane administratora.', |
1186 | 1185 | 'skin-preview' => 'Pregled', |
1187 | 1186 | 'math' => 'Prikaz matematičkih formula', |
1188 | 1187 | 'dateformat' => 'Format datuma', |
Index: trunk/phase3/languages/messages/MessagesPl.php |
— | — | @@ -1143,7 +1143,6 @@ |
1144 | 1144 | 'qbsettings-floatingright' => 'Unoszący się, z prawej', |
1145 | 1145 | 'changepassword' => 'Zmiana hasła', |
1146 | 1146 | 'skin' => 'Skórka', |
1147 | | -'skin-override' => 'Formularz został wyłączony, ponieważ na tej wiki administrator ustawił jedną domyślną skórkę.', |
1148 | 1147 | 'skin-preview' => 'podgląd', |
1149 | 1148 | 'math' => 'Wzory', |
1150 | 1149 | 'dateformat' => 'Format daty', |
Index: trunk/phase3/languages/messages/MessagesIa.php |
— | — | @@ -1062,7 +1062,6 @@ |
1063 | 1063 | 'qbsettings-floatingright' => 'Flottante a derecta', |
1064 | 1064 | 'changepassword' => 'Cambiar contrasigno', |
1065 | 1065 | 'skin' => 'Stilo', |
1066 | | -'skin-override' => 'Iste formulario ha essite disactivate, post que iste wiki ultrapassa le configurationes de stilo del usator con le stilo predefinite per le administrator.', |
1067 | 1066 | 'skin-preview' => 'Previsualisation', |
1068 | 1067 | 'math' => 'Mathematica', |
1069 | 1068 | 'dateformat' => 'Formato de datas', |
Index: trunk/phase3/languages/messages/MessagesEn.php |
— | — | @@ -1494,7 +1494,6 @@ |
1495 | 1495 | 'qbsettings-floatingright' => 'Floating right', |
1496 | 1496 | 'changepassword' => 'Change password', |
1497 | 1497 | 'skin' => 'Skin', |
1498 | | -'skin-override' => 'This form has been disabled, because this wiki overrides user skin settings with the default skin set by the administrator.', |
1499 | 1498 | 'skin-preview' => 'Preview', |
1500 | 1499 | 'math' => 'Math', |
1501 | 1500 | 'dateformat' => 'Date format', |
Index: trunk/phase3/languages/messages/MessagesFa.php |
— | — | @@ -1268,7 +1268,6 @@ |
1269 | 1269 | 'qbsettings-floatingright' => 'شناور راست', |
1270 | 1270 | 'changepassword' => 'تغییر گذرواژه', |
1271 | 1271 | 'skin' => 'پوسته', |
1272 | | -'skin-override' => 'این فرم غیر فعال شدهاست، زیرا این ویکی تنظیم پوسته توسط کاربر را با پوستهٔ پیشفرض که توسط مدیر تعیین شده باطل میسازد.', |
1273 | 1272 | 'skin-preview' => 'پیشنمایش', |
1274 | 1273 | 'math' => 'نمایش ریاضیات', |
1275 | 1274 | 'dateformat' => 'قالب تاریخ', |
Index: trunk/phase3/languages/messages/MessagesVi.php |
— | — | @@ -1065,7 +1065,6 @@ |
1066 | 1066 | 'qbsettings-floatingright' => 'Nổi bên phải', |
1067 | 1067 | 'changepassword' => 'Đổi mật khẩu', |
1068 | 1068 | 'skin' => 'Hình dạng', |
1069 | | -'skin-override' => 'Biểu mẫu này bị tắt vì hình dạng mặc định do quản lý viên đặt đè lên các thiết lập hình dạng cá nhân tại wiki này.', |
1070 | 1069 | 'skin-preview' => 'Xem thử', |
1071 | 1070 | 'math' => 'Công thức toán', |
1072 | 1071 | 'dateformat' => 'Kiểu ngày tháng', |
Index: trunk/phase3/languages/messages/MessagesGl.php |
— | — | @@ -1033,7 +1033,6 @@ |
1034 | 1034 | 'qbsettings-floatingright' => 'Flotante á dereita', |
1035 | 1035 | 'changepassword' => 'Cambiar o meu contrasinal', |
1036 | 1036 | 'skin' => 'Aparencia', |
1037 | | -'skin-override' => 'Este formulario foi deshabilitado porque este wiki sobreescribe a apariencia de usuario coa apariencia por defecto fixada polo administrador.', |
1038 | 1037 | 'skin-preview' => 'Probar', |
1039 | 1038 | 'math' => 'Fórmulas matemáticas', |
1040 | 1039 | 'dateformat' => 'Formato da data', |
Index: trunk/phase3/languages/messages/MessagesLb.php |
— | — | @@ -997,7 +997,6 @@ |
998 | 998 | 'qbsettings-floatingright' => 'Schwiewt riets', |
999 | 999 | 'changepassword' => 'Passwuert änneren', |
1000 | 1000 | 'skin' => 'Skin', |
1001 | | -'skin-override' => 'Dëse Formulaire ass ausgeschalt, well op dëser Wiki Skin Astellungen vun de Benotzer duerch déi Astellungen ersat sinn déi den Admistrateur par défaut agestallt huet.', |
1002 | 1001 | 'skin-preview' => 'Kucken', |
1003 | 1002 | 'dateformat' => 'Datumsformat', |
1004 | 1003 | 'datedefault' => 'Egal (Standard)', |
Index: trunk/phase3/languages/messages/MessagesEo.php |
— | — | @@ -1074,7 +1074,6 @@ |
1075 | 1075 | 'qbsettings-floatingright' => 'Ŝvebas dekstre', |
1076 | 1076 | 'changepassword' => 'Ŝanĝi pasvorton', |
1077 | 1077 | 'skin' => 'Etoso', |
1078 | | -'skin-override' => 'Ĉi tiu paĝo estis malŝaltita, ĉar ĉi tiu vikio anstataŭigas la etosajn preferojn kun la defaŭlta etosaro de la administranto.', |
1079 | 1078 | 'skin-preview' => 'Antaŭrigardo', |
1080 | 1079 | 'math' => 'Matematikaĵoj', |
1081 | 1080 | 'dateformat' => 'Datformato', |
Index: trunk/phase3/languages/messages/MessagesEs.php |
— | — | @@ -1060,7 +1060,6 @@ |
1061 | 1061 | 'qbsettings-floatingright' => 'Flotante a la derecha', |
1062 | 1062 | 'changepassword' => 'Cambiar la contraseña', |
1063 | 1063 | 'skin' => 'Apariencia', |
1064 | | -'skin-override' => 'Este formulario ha sido deshabilitado, ya que esta wiki sustituye la selección de apariencia del usuario por la indicada por el administrador.', |
1065 | 1064 | 'skin-preview' => 'Ver cómo queda', |
1066 | 1065 | 'math' => 'Fórmulas', |
1067 | 1066 | 'dateformat' => 'Formato de fecha', |
Index: trunk/phase3/languages/messages/MessagesFr.php |
— | — | @@ -1101,7 +1101,6 @@ |
1102 | 1102 | 'qbsettings-floatingright' => 'Flottante à droite', |
1103 | 1103 | 'changepassword' => 'Modification du mot de passe', |
1104 | 1104 | 'skin' => 'Habillage', |
1105 | | -'skin-override' => 'Ce formulaire a été désactivé, parce ce wiki écrase les paramètres d’interface utilisateur avec celle par défaut établie par l’administrateur.', |
1106 | 1105 | 'skin-preview' => 'Prévisualiser', |
1107 | 1106 | 'math' => 'Rendu des maths', |
1108 | 1107 | 'dateformat' => 'Format de date', |
Index: trunk/phase3/languages/messages/MessagesNl.php |
— | — | @@ -1233,7 +1233,6 @@ |
1234 | 1234 | 'qbsettings-floatingright' => 'Rechts zwevend', |
1235 | 1235 | 'changepassword' => 'Wachtwoord wijzigen', |
1236 | 1236 | 'skin' => 'Vormgeving', |
1237 | | -'skin-override' => 'Dit formulier is uitgeschakeld omdat in deze wiki alleen het door de beheerder gekozen uiterlijk weergegeven kan worden.', |
1238 | 1237 | 'skin-preview' => 'Voorbeeld', |
1239 | 1238 | 'math' => 'Formules', |
1240 | 1239 | 'dateformat' => 'Datumopmaak', |
Index: trunk/phase3/languages/messages/MessagesDe.php |
— | — | @@ -1080,7 +1080,6 @@ |
1081 | 1081 | 'qbsettings-floatingright' => 'Rechts, schwebend', |
1082 | 1082 | 'changepassword' => 'Passwort ändern', |
1083 | 1083 | 'skin' => 'Skin', |
1084 | | -'skin-override' => 'Dieses Formular wurde deaktiviert, da dieses Wiki die Skineinstellungen ignoriert und den Standardskin verwendet, der vom Administrator festgelegt wurde.', |
1085 | 1084 | 'skin-preview' => 'Vorschau', |
1086 | 1085 | 'math' => 'TeX', |
1087 | 1086 | 'dateformat' => 'Datumsformat', |