Links for Drupal 8 documentation are wrongly redirected

Created on 2 May 2024, about 2 months ago
Updated 10 May 2024, about 2 months ago

In Writing secure code for Drupal , there are links to documentation pages on api.drupal.org, which are wrongly redirected.

  • https://api.drupal.org/api/drupal/core%21lib%21Drupal%21Component%21Render%21FormattableMarkup.php/function/FormattableMarkup%3A%3AplaceholderFormat/8.2.x redirects to https://api.prod.cluster.drupalsystems.org/api/drupal/11.x/search, which shows Sorry, api/drupal/core%21lib%21Drupal%21Component%21Render%21FormattableMarkup.php/function/FormattableMarkup%3A%3AplaceholderFormat/8.2.x/11.x cannot be found.
  • https://api.drupal.org/api/drupal/core%21lib%21Drupal%21Core%21StringTranslation%21TranslationInterface.php/function/TranslationInterface%3A%3AformatPlural/8.2.x redirects to the same page and shows a similar message (Sorry, api/drupal/core%21lib%21Drupal%21Core%21StringTranslation%21TranslationInterface.php/function/TranslationInterface%3A%3AformatPlural/8.2.x/11.x cannot be found.)

/11.x is appended to the URL, while the correct URL should be https://api.drupal.org/api/drupal/core%21lib%21Drupal%21Component%21Render%21FormattableMarkup.php/function/FormattableMarkup%3A%3AplaceholderFormat/11.x, for the first case.

🐛 Bug report
Status

Closed: duplicate

Version

1.0

Component

User interface

Created by

🇮🇹Italy apaderno Brescia, 🇮🇹

Live updates comments and jobs are added and updated live.
Sign in to follow issues

Comments & Activities

Production build 0.69.0 2024