This may be a bug, or it may be me doing something wrong. When I use "Reanalyze content for links" or "Clear link data and analyze content for links" no links are found. Nothing appears in the Watchdog log, the "Broken links" report is empty, and the "linkchecker_index" and "linkchecker_link" tables remain empty.
I'm using 8.x-1.x-dev with the following patches (all updated within the past few days with status "reviewed and tested by the community" or "needs review"):
"3058014 - Add support for Redirect module": "https://www.drupal.org/files/issues/2020-01-27/3058014-4.patch",
"3092304 - Add support for Dynamic Entity Reference 2.x": "https://www.drupal.org/files/issues/2020-01-24/3092304-4.patch",
"3104570 - Remove unused files that comes from the drupal7 version": "https://www.drupal.org/files/issues/2020-01-06/3104570-remove-unused-files-2.patch",
"3104574 - Remove unused code that comes from the drupal7 version in module": "https://www.drupal.org/files/issues/2020-01-06/3104574-remove-unused-code-2.patch",
"3109152 - Move _linkchecker_isvalid_response_code out of .module file to a dedicated service.": "https://www.drupal.org/files/issues/2020-01-28/3109152-5.patch",
"3109158 - Move LINKCHECKER_DEFAULT_FILTER_BLACKLIST out of .module file to LinkCheckerAdminSettingsForm.": "https://www.drupal.org/files/issues/2020-01-27/3109158-2.patch",
"3109178 - Move linkchecker_watchdog_log out of .module to a dedicated service.": "https://www.drupal.org/files/issues/2020-01-27/3109172-3.patch"I've tried some other patch combinations with no difference in behavior.
I've got a single basic page node with three links in it, two working, one pointed at a nonexistent server:
<p><a href="https://apple.com">Apple</a>
<br />
<a href="https://google.com">Google</a>
<br />
<a href="https://fakething.mo.gov">Bad link</a>
</p>Configuration seems to work fine; I can access the form, and the configuration is updated:
check_links_types: 1
default_url_scheme: 'https://'
base_path: foo.mo.gov
extract:
from_a: true
from_audio: false
from_embed: false
from_iframe: false
from_img: false
from_object: false
from_video: false
filter_blacklist:
filter_align: filter_align
filter_autop: filter_autop
filter_caption: filter_caption
blazy_filter: '0'
editor_file_reference: '0'
entity_embed: '0'
filter_html: '0'
filter_htmlcorrector: '0'
filter_html_escape: '0'
filter_html_image_secure: '0'
filter_url: '0'
linkit: '0'
media_embed: '0'
filter_file_link_classes: '0'
nbsp_cleaner_filter: '0'
check:
connections_max: 8
connections_max_per_domain: 2
disable_link_check_for_urls: "example.com\nexample.net\nexample.org"
library: core
interval: 2419200
useragent: 'Drupal (+https://drupal.org/)'
error:
action_status_code_301: 1
action_status_code_404: 0
ignore_response_codes: "200\r\n206\r\n302\r\n304\r\n401\r\n403"
impersonate_account: administrator
logging:
level: 6
_core:
default_config_hash: FzFKuqOuk667AkDorrqvXkc_-M4D-Ac1XeGGusxS1JU
scan_blocks: null
Comments
Comment #2
pnagornyak commentedThere is a new approach for linkchecker in D8, you have to configure each content field in admin (third_party_settings) in order to check for links.
Comment #3
wrd commentedWell, *that's* embarrassing. I've been testing this on and off for over a year and never noticed that. I'm going to go drink now. It's after five somewhere, I think.
Thank you. Changing this to a Support request.
Comment #4
c-logemannOK, it seems that this support request is solved. So closing this.
@wrd Feel free to reopen it if it's not solved.
Comment #5
c-logemannSorry as a support request the correct status is "fixed".