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.
Currently the links to edit the source(s) of a broken link are shown on the report in the format "Edit node @nid" and "Edit comment @cid". This isn't particularly user friendly however I assume this was done due to performance. I don't think a call to node_load_multiple()
and comment_load_multiple()
for each link should cause major issues.
Patch to follow.
Comment | File | Size | Author |
---|---|---|---|
#1 | linkchecker-report-links-2403179-1.patch | 1.33 KB | msmithcti |
Comments
Comment #1
msmithcti CreditAttribution: msmithcti commentedThis patch loads any nodes and comments before printing the links to them, allowing the inclusion of the title which should help users to know exactly what the link allows them to edit.
Comment #2
msmithcti CreditAttribution: msmithcti commentedComment #3
hass CreditAttribution: hass commentedThat was mostly done for table column size reasons. With title the table will be extremly large and do not fit on a screen.
Comment #4
RumpledElf CreditAttribution: RumpledElf commentedJust chiming in, we had a client ask why the broken link report doesn't show which pages have broken links.
The node/id format is *really* not user friendly. Could it be an option to use full titles vs node IDs?
Comment #5
mmikitka CreditAttribution: mmikitka commentedRelated to this issue, I just submitted a patch for linkchecker reports by type: https://www.drupal.org/node/2822413