IMO, there was no need to revert that edit. Everything but the "name" tag seems fine.

For the first or second edit of a new user, this seems like a reasonable error that has a harsh response from the community.
A more welcoming response could have been chosen