48 $this->me = $this->
getConfig()[
'mode'] ===
'me';
61 if ( !$user->isRegistered() ) {
71 $name = $user->getName();
72 if ( !$this->userNameUtils->isIp( $name ) && !$user->isRegistered() ) {
74 new MessageValue(
'rest-nonexistent-user', [ $name ] ), 404