metatag.install file references and links README.txt file which has been changed to README.md file

Created on 7 July 2023, 12 months ago
Updated 25 October 2023, 8 months ago

Problem/Motivation

Installed Metatag 1.32 module on Drupal 7.98 site, and saw a warning:

Thank you for installing the Metatag module. It is recommended to read the module's README.txt file as there are some known issues that may affect this site.

"README.txt" is a hyperlink that points to:
/modules/metatag/README.txt

But that is a broken link (404). It does work if changed to:
/modules/metatag/README.md

I investigated more and found that the warning message is emitted from the metatag.install file. In that file there are two references to README.txt, one of which is linked, as noted above.

I found that the README.txt file was recently changed to README.md in issue #3210889

Steps to reproduce

Use the Modules admin menu to enable/install the Metatag module (files already in place on the server)
Have some aspect of your site trigger the message (I think on this site it was the presence of custom page.tpl files)
Try to follow the link in the message and get the 404

Proposed resolution

Edit the lines in metatag.install (line 128 and 356) referring and linking to README.txt to instead refer and link to the README.md file.

Remaining tasks

Edit the metatage.install file

User interface changes

None

API changes

None

Data model changes

None

🐛 Bug report
Status

RTBC

Version

1.32

Component

Miscellaneous

Created by

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

Comments & Activities

Production build 0.69.0 2024