Problem/Motivation
Steps to reproduce:
- Replace the default value in "Name" field of Anonymous users on /admin/config/people/accounts page, submit the form.
- Go to the "Edit menu Main Navigation" page on /admin/structure/menu/manage/main path. You see one menu item saying "Log out ('Log in' for anonymous users)"
In my view that's semantically incorrect: from the aspect of a newbie administrator, they could expect that renaming unauthenticated users to something custom, will affect the display site-wide.

Proposed resolution
Replace the current one-piece string (see it on localize.drupal.org with ID#2415243) to a more intelligent solution which queries the current name for Anons from system config and combines together with this sentence.
Remaining tasks
N.a.
User interface changes
Hopefully some improvements towards a logically more consistent UI.
API changes
N.a.
Data model changes
N.a.
| Comment | File | Size | Author |
|---|---|---|---|
| #2 | anonymous.PNG | 28.31 KB | poornachandran |
| logical-conflict-between-config-value-and-ui-string.png | 52.39 KB | baluertl |
Comments
Comment #2
poornachandran commentedNot sure if this have to be changed. This seems to be a debatable topic. I have also noticed another place where the updated name of the anonymous user dint change. There might be some other places too. But the important thing here is, if are going to update this, we have to update throughout the site :)
Comment #5
pameeela commentedI disagree strongly that the value of the 'Name' setting should be used for these strings. The term 'anonymous user' is used throughout Drupal and has a specific meaning. The 'Name' setting just controls what username displays when there is no user. I don't think that they are interchangeable. Perhaps the role name would be more appropriate to use for this, as it is totally separate and more specifically refers to the type of user rather than a simple display setting.
It would be considered a feature request to use the name value or the role name in these strings so I have updated this ticket, but want to stress I do not support this change.
Comment #12
quietone commentedThank you for the idea!
There are two comments in the 9 years this has been open and both don't think this is a good idea.
The proposal doesn't met the Criteria for evaluating proposed changes. In this case, there is not demonstrated demand and support for the change.
If there is interest in this re-open the issue and add a comment. Or open a new issue and reference this one.