Support for Drupal 7 is ending on 5 January 2025—it’s time to migrate to Drupal 10! Learn about the many benefits of Drupal 10 and find migration tools in our resource center.
There are a couple of references in Drupal core to https://www.drupal.org/cron. This is a redirect however to the Drupal 7 documentation on cron with url https://www.drupal.org/docs/7/setting-up-cron/overview.
We have two options here:
- Update the documentation on d.o so that d.o/cron redirects to Drupal 8 documentation.
- Update the links in Drupal core to https://www.drupal.org/docs/8/cron-automated-tasks.
Comment | File | Size | Author |
---|---|---|---|
#23 | interdiff_20-23.txt | 3.33 KB | Neslee Canil Pinto |
#23 | 2841696-23.patch | 7.54 KB | Neslee Canil Pinto |
#20 | 2841696-20.patch | 7.36 KB | swatichouhan012 |
#8 | 2841696-8.patch | 5.53 KB | Pavan B S |
#7 | interdiff-5-7.txt | 9.26 KB | tameeshb |
Comments
Comment #2
wmostrey CreditAttribution: wmostrey commentedComment #3
wturrell CreditAttribution: wturrell as a volunteer commentedThere's another non-version specific URL - https://www.drupal.org/documentation/modules/automated_cron
which redirects to: https://www.drupal.org/docs/8/administering-drupal-8-site/automated-cron
and also has a Related link to the page you found: https://www.drupal.org/docs/8/cron-automated-tasks
I've seen a few issues like this, would welcome clarification on:
- what the plan is for updating various redirects
- and/or who has to be asked to do it, if there's an appropriate queue / tag to use (none of existing 'redirect' ones seem to bring up any issues)
Comment #5
prash_98 CreditAttribution: prash_98 commentedComment #7
tameeshb CreditAttribution: tameeshb at Google Summer of Code commentedYou missed a ; there.
Comment #8
Pavan B S CreditAttribution: Pavan B S at Valuebound commentedRerolled the patch and applied , please review.
Comment #9
prash_98 CreditAttribution: prash_98 commentedThe patch applies well and also the site links and the documentation is better as compared to the previous patches.
So changing it to RTBC
Comment #10
wturrell CreditAttribution: wturrell as a volunteer commentedWe haven't addressed what should (or is already planned to) happen with with the drupal.org/cron redirect - to be honest, linking to URLs containing version numbers feels like it's creating extra work for ourselves in each subsequent version of Drupal.
What's our policy on this, and on management of redirects, as I hinted at in #3?
Comment #11
prash_98 CreditAttribution: prash_98 commentedSo like could we change the link each time the version is upgraded or should we not specify the link and the user can search it by their own according to the version..
Comment #12
xjmThis issue is a part of the problem described in #2855175: [META] Many documentation / handbook URLs redirect to D7 content, but is missing the full list of the bad cron links there.
Patching our docs to the correct Drupal 8 for now is helpful, but I agree it's also unmaintainable, as suggested by the discussion from @wturrell and @prash_98. I posted regarding that on #2855171: Documentation migration makes significant sections of the Drupal 8 handbook unnavigable or redirect to Drupal 7 docs.
Meanwhile though, let's consider this issue as part of the overall plan in #2855175: [META] Many documentation / handbook URLs redirect to D7 content.
Comment #18
alexpottCrediting contributors on #3061936: Incorrect link to Cron tutorial which is a duplicate.
Comment #20
swatichouhan012 CreditAttribution: swatichouhan012 at Valuebound for Valuebound commentedRerolled patch wrt 8.8.x and 8.9.x, also updated link in some other files.
Comment #21
swatichouhan012 CreditAttribution: swatichouhan012 at Valuebound for Valuebound commentedComment #22
volkswagenchickThanks for the re-roll.
One nitpick:
In a .txt file - lines should be hard wrapped at 80 characters.
Visit https://www.drupal.org/docs/develop/standards/coding-standards#linelength for more information.
Comment #23
Neslee Canil PintoComment #24
Neslee Canil PintoComment #27
jhodgdonThis issue is a duplicate.