Feature summary (what you would like to be able to do and where):
With the new temp user feature it is possible to your own ip on edits.
But for this user a link to Special:Mute is shown, which is not useful as temp user never can set a email.
Use case(s) (list the steps that you performed to discover that problem, and describe the actual underlying problem which you want to solve. Do not describe only a solution):
Disable linking to Special:Mute for temp users to avoid
Benefits (why should this be implemented?):
No non-functional links in the UI
Testing notes
Environment:
- This can be tested on Beta or locally
- Extension needed: Echo
- Config needed:
$wgEnableSpecialMute = true; $wgEnableUserEmailBlacklist = true; $wgEchoPerUserBlacklist = true;
Behaviour:
- Only named users should be able to access Special:Mute. Anons and temporary users should see an error.
- Special:Mute/<username> should display an error if <username> is not a named user's name (e.g. if it is an IP, temp user, nonexistent user, or empty)
- Named users should see a "Mute preferences" link in their side menu on pages that have a 'relevant user' (e.g. Special:Contributions/<someuser>, Special:Block/<someuser>, etc) - but only if <someuser> is a named user. Temp and anon users should not see this link.