Index: trunk/extensions/OnlineStatusBar/OnlineStatusBar.php |
— | — | @@ -112,7 +112,7 @@ |
113 | 113 | $wgHooks['GetPreferences'][] = 'wfOnlineStatusBar_PreferencesHook'; |
114 | 114 | function wfOnlineStatusBar_PreferencesHook( $user, &$preferences ) { |
115 | 115 | global $wgOnlineStatusBarDefaultOnline, $wgOnlineStatusBarDefaultEnabled, $wgOnlineStatusBarModes; |
116 | | - $preferences['OnlineStatusBar_active'] = array( 'type' => 'toggle', 'label-message' => 'onlinestatusbar-used', 'section' => 'misc/onlinestatus', 'default' => $wgOnlineStatusBarDefaultEnabled ); |
| 116 | + $preferences['OnlineStatusBar_active'] = array( 'type' => 'toggle', 'label-message' => 'onlinestatusbar-used', 'section' => 'misc/onlinestatus' ); // 'default' => $wgOnlineStatusBarDefaultEnabled ); |
117 | 117 | $preferences['OnlineStatusBar_status'] = array( 'type' => 'radio', 'label-message' => 'onlinestatusbar-status', 'section' => 'misc/onlinestatus', |
118 | 118 | 'options' => array( |
119 | 119 | $wgOnlineStatusBarModes['online'] => 'online', |
— | — | @@ -120,7 +120,7 @@ |
121 | 121 | $wgOnlineStatusBarModes['away'] => 'away', |
122 | 122 | $wgOnlineStatusBarModes['hidden'] => 'hidden' |
123 | 123 | ), |
124 | | - 'default' => 'online', |
| 124 | + //'default' => 'online', |
125 | 125 | ); |
126 | 126 | return true; |
127 | 127 | } |