Problem/Motivation
Missing Help Page (404 Error)
Steps to reproduce
1. Navigate to Module Help Page (admin/help/mysql)
2. Click link 'online documentation for the MySQL module.'
3. Requested page returns a 404 (https://www.drupal.org/documentation/modules/mysql).
Proposed resolution
Update help link to correct URL: https://www.drupal.org/docs/core-modules-and-themes/core-modules/mysql-m... or redirect https://www.drupal.org/documentation/modules/mysql to working URL.
The are a lot more links to module pages that are no longer working. The correct links can be found at https://www.drupal.org/docs/core-modules-and-themes/core-modules.
For all modules need to have those links checked and if needed to be updated.
| Comment | File | Size | Author |
|---|
Issue fork drupal-3309173
Show commands
Start within a Git clone of the project using the version control instructions.
Or, if you do not have SSH keys set up on git.drupalcode.org:
- 3309173-mysql-module--
changes, plain diff MR !2762
Comments
Comment #2
sittard commentedComment #3
cilefen commentedComment #7
immaculatexavier commentedchanged the help link to correct URL: https://www.drupal.org/docs/core-modules-and-themes/core-modules/mysql-m...
Comment #8
Pracheth commentedI have added the patch file for the Issue no- 3309173.
The issue is fixed- the correct URL(https://www.drupal.org/docs/core-modules-and-themes/core-modules/mysql-m...) is updated in the PATCH file.
Comment #9
daffie commentedThere are a lot more modules in core for which the link to its documentation page no longer works. Somebody is relocating the documentation pages for the modules. Of course updating the documentation pages is great! Only now we need to fix the links to those pages in core.
The fix for the MySQL module is the correct one. Now all the other modules need to be check and if needed to be updated.
Comment #11
arantxioAs commented by #9 other modules also have wrong urls, I have gone through all the core modules and changed the urls. Some of them are still older ones but they seem to redirect to the right page. I have created a new commit and also a patch file.
Comment #12
daffie commentedI have checked all new path and they work now.
For me it is RTBC.
Comment #13
daffie commentedComment #14
fabianderijkAgree, RTBC. Everything looks good!
Comment #15
drummAny documentation page moved on Drupal.org gets an automatic redirect. Since https://www.drupal.org/documentation/modules/mysql 404s, it either never existed, was deleted, or someone went out of their way to remove the redirect. It seems like it may never have existed: https://web.archive.org/web/20220000000000*/https://www.drupal.org/docum...
Fixing the bad/stale links in core is the primary concern, so this issue is good as-is. We can create redirects in cases like this, so the previous versions have fewer links to non-existent pages. https://www.drupal.org/documentation/modules/mysql now has a redirect. Any others like this should get an issue at https://www.drupal.org/project/site_moderators with a simple list of 404'd URLs and where they should redirect to.
Comment #16
alexpottCommitted and pushed bec8cb0e12 to 10.1.x and 558680cdc4 to 10.0.x and 4a116800e4 to 9.5.x. Thanks!
Comment #20
alexpottDiscussed with @longwave we agreed to backport this to 9.4.x.
Committed 78a5362 and pushed to 9.4.x. Thanks!