Index: trunk/extensions/OnlineStatus/OnlineStatus.php |
— | — | @@ -253,8 +253,10 @@ |
254 | 254 | 'help-message' => 'onlinestatus-toggles-explain', |
255 | 255 | ) |
256 | 256 | ); |
257 | | - $preferences = wfArrayInsertAfter( $preferences, $prefs, 'registrationdate' ); |
258 | 257 | |
| 258 | + $after = array_key_exists( 'registrationdate', $preferences ) ? 'registrationdate' : 'editcount'; |
| 259 | + $preferences = wfArrayInsertAfter( $preferences, $prefs, $after ); |
| 260 | + |
259 | 261 | return true; |
260 | 262 | } |
261 | 263 | |