Page MenuHomePhabricator

Special:EmailUser/name should say if name cannot be emailed
Open, Needs TriagePublic

Description used to say "This user has not specified a valid email address." This is MediaWiki:Noemailtext. It was quoted 14 August 2018. At some time since then, it started just saying "Enter username of recipient" above a username field. If you enter TheBigBoss3900 in the field then the url changes to and the page says "This user has not specified a valid email address". Special:EmailUser/TheBigBoss3900 should also show this helpful message.
Similarly, should say "This user has chosen not to receive email from other users" (MediaWiki:Nowikiemailtext). It used to say this, and still does if you enter the name in the field.

If the user can be mailed then Special:EmailUser/name gives the same result (a mail form) as entering name at, for example for

It's OK that gives an option to enter a username but it should be in addition to saying that the already specified user cannot be emailed. I don't know a MediaWiki feature which gives a link to Special:EmailUser/name when name cannot be mailed, but the link can be made in other ways like a template, user script, or manual url change.