Index: trunk/extensions/CentralAuth/CentralAuthHooks.php |
— | — | @@ -82,7 +82,8 @@ |
83 | 83 | ), |
84 | 84 | ); |
85 | 85 | |
86 | | - $preferences = wfArrayInsertAfter( $preferences, $prefInsert, 'registrationdate' ); |
| 86 | + $after = array_key_exists( 'registrationdate', $preferences ) ? 'registrationdate' : 'editcount'; |
| 87 | + $preferences = wfArrayInsertAfter( $preferences, $prefInsert, $after ); |
87 | 88 | |
88 | 89 | return true; |
89 | 90 | } |