Problem/Motivation

Steps to reproduce:

  1. Replace the default value in "Name" field of Anonymous users on /admin/config/people/accounts page, submit the form.
  2. 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.
Screenshot attached

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.

Comments

Balu Ertl created an issue. See original summary.

poornachandran’s picture

StatusFileSize
new28.31 KB

Not 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 :)

Version: 8.3.4 » 8.3.x-dev

Core issues are now filed against the dev versions where changes will be made. Document the specific release you are using in your issue comment. More information about choosing a version.

Version: 8.3.x-dev » 8.9.x-dev

Drupal 8.8.7 was released on June 3, 2020 and is the final full bugfix release for the Drupal 8.8.x series. Branches prior to 8.8.x are not supported, and Drupal 8.8.x will not receive any further development aside from security fixes. Sites should prepare to update to Drupal 8.9.0 or Drupal 9.0.0 for ongoing support.

Bug reports should be targeted against the 8.9.x-dev branch from now on, and new development or disruptive changes should be targeted against the 9.1.x-dev branch. For more information see the Drupal 8 and 9 minor version schedule and the Allowed changes during the Drupal 8 and 9 release cycles.

pameeela’s picture

Title: Logical conflict between config value and UI string » Update references to 'anonymous users' to use the 'Name' set at admin/config/people/accounts
Category: Bug report » Feature request
Issue tags: +Bug Smash Initiative

I 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.

Version: 8.9.x-dev » 9.2.x-dev

Drupal 8 is end-of-life as of November 17, 2021. There will not be further changes made to Drupal 8. Bugfixes are now made to the 9.3.x and higher branches only. For more information see the Drupal core minor version schedule and the Allowed changes during the Drupal core release cycle.

Version: 9.2.x-dev » 9.3.x-dev

Version: 9.3.x-dev » 9.4.x-dev

Drupal 9.3.15 was released on June 1st, 2022 and is the final full bugfix release for the Drupal 9.3.x series. Drupal 9.3.x will not receive any further development aside from security fixes. Drupal 9 bug reports should be targeted for the 9.4.x-dev branch from now on, and new development or disruptive changes should be targeted for the 9.5.x-dev branch. For more information see the Drupal core minor version schedule and the Allowed changes during the Drupal core release cycle.

Version: 9.4.x-dev » 9.5.x-dev

Drupal 9.4.9 was released on December 7, 2022 and is the final full bugfix release for the Drupal 9.4.x series. Drupal 9.4.x will not receive any further development aside from security fixes. Drupal 9 bug reports should be targeted for the 9.5.x-dev branch from now on, and new development or disruptive changes should be targeted for the 10.1.x-dev branch. For more information see the Drupal core minor version schedule and the Allowed changes during the Drupal core release cycle.

Version: 9.5.x-dev » 11.x-dev

Drupal core is moving towards using a “main” branch. As an interim step, a new 11.x branch has been opened, as Drupal.org infrastructure cannot currently fully support a branch named main. New developments and disruptive changes should now be targeted for the 11.x branch. For more information, see the Drupal core minor version schedule and the Allowed changes during the Drupal core release cycle.

Version: 11.x-dev » main

Drupal core is now using the main branch as the primary development branch. New developments and disruptive changes should now be targeted to the main branch.

Read more in the announcement.

quietone’s picture

Status: Active » Closed (won't fix)

Thank 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.

Now that this issue is closed, review the contribution record.

As a contributor, attribute any organization that helped you, or if you volunteered your own time.

Maintainers, credit people who helped resolve this issue.