From 97c0fadc6ac619a4867f49c45036f978b7c380a9 Mon Sep 17 00:00:00 2001 From: =?utf8?q?Niklas=20Laxstr=C3=B6m?= Date: Thu, 23 Feb 2006 20:18:49 +0000 Subject: [PATCH] Fixfix --- includes/SpecialPreferences.php | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/includes/SpecialPreferences.php b/includes/SpecialPreferences.php index 872d16c948..89b6aaef06 100644 --- a/includes/SpecialPreferences.php +++ b/includes/SpecialPreferences.php @@ -797,6 +797,7 @@ class PreferencesForm { # Editing # + global $wgLivePreview; $wgOut->addHTML( '
' . wfMsg( 'textboxsize' ) . '
mRows}\" size='3' /> @@ -814,7 +815,7 @@ class PreferencesForm { 'minordefault', 'externaleditor', 'externaldiff', - 'uselivepreview', ) + $wgLivePreview ? 'uselivepreview' : false, ) ) . '
' ); -- 2.20.1