From af2a215483a8b5c7b368ea958227fecea7ef83cf Mon Sep 17 00:00:00 2001 From: "James D. Forrester" Date: Thu, 20 Jul 2017 12:13:50 -0700 Subject: [PATCH] Change 'editfont' default preference to 'monospace' Also change the user preference order to put the default first and the least-good option last. Bug: T171201 Change-Id: Ib4c6cd7f2d98824313c2bfcdf3f71d89fc48c929 --- includes/DefaultSettings.php | 2 +- includes/Preferences.php | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/includes/DefaultSettings.php b/includes/DefaultSettings.php index f35715e8be..ac6e558fc0 100644 --- a/includes/DefaultSettings.php +++ b/includes/DefaultSettings.php @@ -4838,7 +4838,7 @@ $wgDefaultUserOptions = [ 'date' => 'default', 'diffonly' => 0, 'disablemail' => 0, - 'editfont' => 'default', + 'editfont' => 'monospace', 'editondblclick' => 0, 'editsectiononrightclick' => 0, 'enotifminoredits' => 0, diff --git a/includes/Preferences.php b/includes/Preferences.php index 008963b5a7..c57237328d 100644 --- a/includes/Preferences.php +++ b/includes/Preferences.php @@ -832,10 +832,10 @@ class Preferences { 'section' => 'editing/editor', 'label-message' => 'editfont-style', 'options' => [ - $context->msg( 'editfont-default' )->text() => 'default', $context->msg( 'editfont-monospace' )->text() => 'monospace', $context->msg( 'editfont-sansserif' )->text() => 'sans-serif', $context->msg( 'editfont-serif' )->text() => 'serif', + $context->msg( 'editfont-default' )->text() => 'default', ] ]; } -- 2.20.1