Index: branches/preferences-work/phase3/includes/Preferences.php |
— | — | @@ -456,6 +456,12 @@ |
457 | 457 | 'section' => 'editing', |
458 | 458 | 'label-message' => 'tog-forceeditsummary', |
459 | 459 | ); |
| 460 | + $defaultPreferences['uselivepreview'] = |
| 461 | + array( |
| 462 | + 'type' => 'toggle', |
| 463 | + 'section' => 'misc', |
| 464 | + 'label-message' => 'tog-uselivepreview', |
| 465 | + ); |
460 | 466 | |
461 | 467 | ## RecentChanges ##################################### |
462 | 468 | $defaultPreferences['usenewrc'] = |
— | — | @@ -735,12 +741,6 @@ |
736 | 742 | 'section' => 'misc', |
737 | 743 | 'label-message' => 'tog-numberheadings', |
738 | 744 | ); |
739 | | - $defaultPreferences['uselivepreview'] = |
740 | | - array( |
741 | | - 'type' => 'toggle', |
742 | | - 'section' => 'misc', |
743 | | - 'label-message' => 'tog-uselivepreview', |
744 | | - ); |
745 | 745 | |
746 | 746 | wfRunHooks( 'GetPreferences', array( $user, &$defaultPreferences ) ); |
747 | 747 | |