Repository navigation
Repair verified broken links and tighten link-checker accuracy (#845) - #1302
Conversation
|
👍 All image files/references (if any) are in webp format, in line with our policy. |
📝 Spell Check ResultsFound 1 potential spelling issue(s) when checking 38 changed file(s): 📄
|
| Line | Issue |
|---|---|
| 2140 | acn ==> can, acne |
ℹ️ How to address these issues:
- Fix the typo: If it's a genuine typo, please correct it.
- Add to whitelist: If it's a valid word (e.g., a name, technical term), add it to
.codespell-ignore.txt - False positive: If this is a false positive, please report it in the PR comments.
🤖 This check was performed by codespell
There was a problem hiding this comment.
All reported issues were addressed across 22 files
Reply with feedback, questions, or to request a fix.
View guided diff | Turn on auto-fix | Re-trigger cubic
0d4a60f to
4423c1d
Compare
There was a problem hiding this comment.
All reported issues were addressed across 9 files (changes from recent commits).
Reply with feedback, questions, or to request a fix.
View guided diff | Turn on auto-fix | Re-trigger cubic
There was a problem hiding this comment.
All reported issues were addressed across 5 files (changes from recent commits).
Reply with feedback, questions, or to request a fix.
View guided diff | Turn on auto-fix | Re-trigger cubic
There was a problem hiding this comment.
All reported issues were addressed across 3 files (changes from recent commits).
Reply with feedback, questions, or to request a fix.
View guided diff | Turn on auto-fix | Re-trigger cubic
265141e to
e3cd278
Compare
|
👍 All content rules passed (WebP images/references and canonical |
ea7c546 to
43ea948
Compare
…plines repair helper
43ea948 to
5db624c
Compare
The weekly link-checker report (#845) had accumulated 89 actionable errors, 2 unregistered DOIs, 1 direct publisher URL, and 2 stale bot-blocked links—a mix of genuinely rotted links on hand-maintained pages, trailing-punctuation bugs in rendered cluster references, leaked Word hyperlink field switches in
/disciplines/, and noisy false positives from bot-blocking and report-parsing bugs.This PR repairs every verified broken link in hand-maintained pages, fixes the root template/parser causes without touching generated files, tightens the link-checker configuration and workflow, and lists the remaining dead upstream Google Sheet links for source maintenance.
Refs #845 — partial (#845 is the recurring weekly report; upstream Google Sheet cells and
main-only content remain outside this PR). Note that the direct publisher URL incontent/reversals/reversals.md:1989(psycnet.apa.org/fulltext/2019-68134-001.pdf) and the deadmheducation.com.au/Rohrer_et_al_2015JEPG.pdflinks were already repaired onrebrand-doorsin #1054.Hand-maintained page repairs (15 links across 10 files)
Every replacement DOI was verified against the DOI Handle API and Crossref/DataCite; every OSF and Wayback snapshot was checked to return 200 with the exact intended article/PDF (not parked or WAF-stub pages).
content/awards/awards.mdjisc.ac.uk/news/all/jisc-announces-2023-community-champions2025-09-22content/awards/awards.mdosc-galway.ie/competition/2022-11-27content/adopting/adopting.mdjournalofcognition.org/articles/10.5334/joc.72https://doi.org/10.5334/joc.72content/adopting/adopting.mdzenodo.org/record/3593258#.X3J4W2hKgUEhttps://doi.org/10.5281/zenodo.3593258content/educators-corner/010-Neurodiversity/index.mdadhdfoundation.org.uk/.../Takeda_Will-the-doctor-see-me-now_ADHD-Report.pdf2026-09-19content/educators-corner/018-accessible-feedback-in-research/index.mdeige.europa.eu/.../garcia_working_paper_5_academic_careers_gender_inequality.pdf2026-10-15content/lesson-plans/nd-lessons-plans.md&content/neurodiversity-lessonbank/_index.mdapa.org/science/about/psa/2019/02/open-science2021-06-03content/pedagogies/003-CREP/index.mdapa.org/ed/precollege/about/undergraduate-major2022-01-20content/pedagogies/001-Julia-Strand/index.mdpsych.unl.edu/mdodd/Psy498/BarghPrime.pdfhttps://doi.org/10.1037/0022-3514.71.2.230content/OS-developing-world/OS-developing-world.md(3 links)http://osf.io/7ubk2https://osf.io/7ubk2content/replication-hub/large-scale-replication-projects/index.mdhttp://www.socialsciencesreplicationproject.comhttps://osf.io/pfdyw/content/replication-hub/large-scale-replication-projects/index.mdhttps://reprosci.epfl.chhttps://doi.org/10.7554/eLife.108403content/reversals/reversals.mdpsych.colorado.edu/~jclab/pdfs/Correll%20(2008).pdfhttps://doi.org/10.1037/0022-3514.94.1.48content/reversals/reversals.mdrips-irsp.com/article/10.5334/irsp.571/https://doi.org/10.5334/irsp.571content/reversals/reversals.mdpublikationen.uni-tuebingen.de/xmlui/handle/10900/91253https://doi.org/10.15496/publikation-32634Template & generator fixes (zero generated files edited)
layouts/partials/clusters/cluster_section.html): exclude trailing sentence punctuation ([.,;:!?)\]]) when auto-linking non-DOI URLs, matchingsummary_entries.htmlandgames/text.html. Fixesresearch-undergraduate.(404 in Link Checker Report #845) plus three other cluster URLs (psyarxiv.com/tcxaj/.,muse.jhu.edu/article/513250.,leidenmadtrics.nl/...journal?). Added hard regression check Add embedded wiki. #29 inscripts/check_seo_html.py.scripts/disciplines_link_repairs.json,scripts/parse_disciplines_gdoc.py,scripts/parse_disciplines_to_json.py):HYPERLINKfield switches (%22%20/o%20...%22%20/t%20%22_blank) in both parsers, fixing the malformed10.1038/nrn.2016.167DOI./disciplines/link repairs (royalsoced.org.uk→rse.org.uk,degruyter.com/.../opar→degruyterbrill.com/journal/key/opar/html,clarin.dk/clarindk/forside.jsp→info.clarin.dk,http://eprints.rclis.org/→https://eprints.rclis.org/,openarchaeologydata.metajnl.com/.../joad.57/→doi.org/10.5334/joad.57, and verified Wayback captures for retired/offlineblog.f1000.com,mhdss.ac.uk×2,opted.euD7.6 PDF,openbioresources.metajnl.com,pubpsych.zpid.de).parse_disciplines_to_json.pyto applydisciplines_link_repairs.jsonand Word field-switch cleanup during export (takes effect next timeparse_disciplines_to_json.pyis re-run anddata/disciplines.jsonis committed).content/resources/resource.py): strip leading/trailing whitespace fromlink_to_resourceduringwrangle_data()(4 rows in the sheet currently have leading spaces/newlines; takes effect on the nextdata-processingrun).Link-checker accuracy (
.lychee.toml,.github/workflows/link-check.yaml)(Takes effect for weekly runs once merged to the default branch.)
facebook.com(returns 400 to all automated requests) alongsidelinkedin.com/twitter.com/x.com, and anchor bothfacebook.comandx.comto host boundaries (://(?:[^/]*\.)?x\.com(?:/|$)) so unanchoredx.comno longer silently skipsdropbox.com,mapbox.com,vox.com,slatestarcodex.com,replicationindex.com, andhugoblox.com.^https://eocampaign1\.com/form/(the POST-only newsletter signup action that legitimately returns 405 to HEAD/GET probes;/web-versionlinks remain checked).GET+ Wayback verification from403to403,405,409, and412(recovers De Gruyter, NIHR, Dimensions, Econ Journal Watch; sendsoer.deepwebaccess.comto Wayback verification).401remains inBroken linksso genuinely restricted public forms (e.g. Google Forms requiring sign-in) are never misreported as working.### Timeouts in ...headers were ignored, attributing all 22 timeouts to/welcome/) and guard bullet parsing to## Errors/## Timeoutssections so future lychee releases'## Ignored per inputsections are not parsed as broken links..lychee.toml'sexclude_pathby skipping archived newsletter issues (^/newsletters/\d{4}-\d{2}/), resolving the historical/newsletters/2025-10/(10.31234/osf.io/znbep) false alarm.Remaining upstream Google Sheet links (for source maintainers)
Generated files under
content/curated_resources/,content/glossary/, anddata/disciplines.jsonwere not hand-edited. The following genuinely dead or misconfigured upstream sheet entries remain to be updated at source:gid=1924034107):https://www.dpjedi.org/andhttps://www.dpjedi.org/resources→ dropwww.(https://dpjedi.org/,https://dpjedi.org/resourcesreturn 200)https://www.preclinicaltrials.eu/→ dropwww.(https://preclinicaltrials.eu/returns 200)https://www.energielabzuidoost.nl/just-prepare/→ 404 (project page removed onenergielabzuidoost.nl)https://www.phil.vt.edu/dmayo/personal_website/Schmidt_Hunter_Eight_Common_But_False_Objections.pdf→ SSL mismatch / dead host (replace with Wayback or DOI10.1037/1082-989X.1.2.115)https://stemdust.com/posts/deletion-erasure-and-what-the-marker-test-can-actually-prove→ connection timeouthttp://www.replicationmarkets.com/→https://replicationmarkets.org/(200 OK)https://www.equator-network.org/about-us/what-is-a-reporting-guideline/→ 404 (site restructured)http://legacy.earlham.edu/~peters/fos/overview.htm→ connection timeout (replace with Wayback capture)https://www.go-fair.org/fair-principles/→ redirects tohttps://www.gofair.foundation/fair-principles1mSlduu86_nE1sY1gXobw3Pp1vI73B_0iHBsJqjtsJU4):python3 scripts/parse_disciplines_to_json.py(or update the 12 cells matchingscripts/disciplines_link_repairs.json+ strip the Word field switch on10.1038/nrn.2016.167) to propagate the repairs intodata/disciplines.json.Verification
hugo --gc --minify --cleanDestinationDirbuilt cleanly (3,516 pages).python3 scripts/rebrand/check_source_rules.py --base origin/rebrand-doors: passed (0 template/menu violations, 0 generated paths changed).python3 scripts/check_seo_html.py <dir>: all 29 hard checks passed, including new check Add embedded wiki. #29.test_parse_disciplines_gdoc.py(13/13),test_check_seo_html.py(52/52),test_resource_entities.py(6/6),test_rebrand_checks.py(61/61).hrefvalues in built HTML and captured verification screenshots of key repaired pages:Created with Gemini 4 Neon in Antigravity (pre-PR audit by Claude Opus 5.5).
Summary by cubic
Repairs the verified broken links from the weekly link-checker report (#845) in hand-maintained pages, swapping dead URLs for canonical DOIs and verified Wayback captures, and fixes the parser and template bugs behind them. Also tightens the link-checker workflow to cut false positives and replaces the image-only PR check with an advisory content-rules check. Remaining dead upstream Google Sheet links are documented for source maintainers.
Link-checker workflow
facebook.com, anchors thex.comexclusion, and excludes Slack invite/workspace domains and the POST-only newsletter form endpoint..lychee.toml'sexclude_pathfor archived newsletter pages.Root-cause fixes
HYPERLINKfield switches and applies verified link repairs on export.link_to_resourcevalues.check_content_rules.py, which advisories on newly added publisher URLs with embedded DOIs in hand-maintained content alongside the existing WebP warning.Refs #845 — partial (the recurring weekly report; upstream Google Sheet cells and
main-only content remain outside this PR).Written for commit 5db624c. Summary will update on new commits.