Index: trunk/phase3/includes/Preferences.php |
— | — | @@ -640,7 +640,7 @@ |
641 | 641 | } |
642 | 642 | |
643 | 643 | static function editingPreferences( $user, &$defaultPreferences ) { |
644 | | - global $wgUseExternalEditor, $wgLivePreview, $wgAllowUserCssPrefs; |
| 644 | + global $wgUseExternalEditor, $wgAllowUserCssPrefs; |
645 | 645 | |
646 | 646 | ## Editing ##################################### |
647 | 647 | $defaultPreferences['cols'] = array( |
— | — | @@ -729,13 +729,12 @@ |
730 | 730 | 'label-message' => 'tog-forceeditsummary', |
731 | 731 | ); |
732 | 732 | |
733 | | - if ( $wgLivePreview ) { |
734 | | - $defaultPreferences['uselivepreview'] = array( |
735 | | - 'type' => 'toggle', |
736 | | - 'section' => 'editing/advancedediting', |
737 | | - 'label-message' => 'tog-uselivepreview', |
738 | | - ); |
739 | | - } |
| 733 | + |
| 734 | + $defaultPreferences['uselivepreview'] = array( |
| 735 | + 'type' => 'toggle', |
| 736 | + 'section' => 'editing/advancedediting', |
| 737 | + 'label-message' => 'tog-uselivepreview', |
| 738 | + ); |
740 | 739 | } |
741 | 740 | |
742 | 741 | static function rcPreferences( $user, &$defaultPreferences ) { |