From 699c9270e0f248615d8d5d80ee3be608158db03f Mon Sep 17 00:00:00 2001 From: Jure Kajzer Date: Thu, 22 Oct 2009 16:48:43 +0000 Subject: [PATCH] Added default value for gender and editfont to avoid Global default invalid message. --- includes/Preferences.php | 2 ++ 1 file changed, 2 insertions(+) diff --git a/includes/Preferences.php b/includes/Preferences.php index 2137f9d861..ef0833eba1 100644 --- a/includes/Preferences.php +++ b/includes/Preferences.php @@ -198,6 +198,7 @@ class Preferences { $defaultPreferences['gender'] = array( 'type' => 'select', + 'default' => 'male', 'section' => 'personal/info', 'options' => array( wfMsg( 'gender-male' ) => 'male', @@ -660,6 +661,7 @@ class Preferences { $defaultPreferences['editfont'] = array( 'type' => 'select', + 'default' => 'default', 'section' => 'editing/advancedediting', 'label-message' => 'editfont-style', 'options' => array( -- 2.20.1