Index: branches/wmf/1.16wmf4/includes/Preferences.php |
— | — | @@ -635,7 +635,7 @@ |
636 | 636 | } |
637 | 637 | |
638 | 638 | static function editingPreferences( $user, &$defaultPreferences ) { |
639 | | - global $wgUseExternalEditor, $wgLivePreview; |
| 639 | + global $wgUseExternalEditor; |
640 | 640 | |
641 | 641 | ## Editing ##################################### |
642 | 642 | $defaultPreferences['cols'] = |
— | — | @@ -737,14 +737,13 @@ |
738 | 738 | 'section' => 'editing/advancedediting', |
739 | 739 | 'label-message' => 'tog-forceeditsummary', |
740 | 740 | ); |
741 | | - if ( $wgLivePreview ) { |
742 | | - $defaultPreferences['uselivepreview'] = |
743 | | - array( |
744 | | - 'type' => 'toggle', |
745 | | - 'section' => 'editing/advancedediting', |
746 | | - 'label-message' => 'tog-uselivepreview', |
747 | | - ); |
748 | | - } |
| 741 | + |
| 742 | + $defaultPreferences['uselivepreview'] = |
| 743 | + array( |
| 744 | + 'type' => 'toggle', |
| 745 | + 'section' => 'editing/advancedediting', |
| 746 | + 'label-message' => 'tog-uselivepreview', |
| 747 | + ); |
749 | 748 | } |
750 | 749 | |
751 | 750 | static function rcPreferences( $user, &$defaultPreferences ) { |