'tototo' message key does not exist that made the message dropped.
Could have used null as a value but it looks nicer to just set
the value.
Per CR on r80281
$helpMessages[] = $wgEmailConfirmToEdit
? 'prefs-help-email-required'
: 'prefs-help-email' ;
- $helpMessages[] = $wgEnableUserEmail
- ? 'prefs-help-email-others'
- : 'tototo' ;
+
+ if( $wgEnableUserEmail ) {
+ // additional messages when users can send email to each other
+ $helpMessages[] = 'prefs-help-email-others';
+ }
$defaultPreferences['emailaddress'] = array(
'type' => $wgAuth->allowPropChange( 'emailaddress' ) ? 'email' : 'info',