Skip to content

fix(content): repair the dead links in old news posts - #376

Merged
yasinmiran merged 1 commit into
mainfrom
fix/old-news-links
Nov 20, 2026
Merged

yasinmiran merged 1 commit into
mainfrom
fix/old-news-links

Conversation

@yasinmiran

Copy link
Copy Markdown
Collaborator

The last group from the dead-link sweep (after #374 and #375): links inside old posts that still pointed at the previous site's addresses, or were written so the browser read them as a path under the post. With this in, the sweep finds no dead internal links, assets or anchors anywhere in the build.

Only link targets change. The link text and the prose around it are as they were, with one exception noted at the end.

What the links were, and where they go now

Was Now Posts
/services/bio-med-data, organization/biomeddata /funding-and-projects/bio-med-data 6
organization/biomeddata/Life-Science-RDM-Group /funding-and-projects/bio-med-data 1 (the data steward event)
Old numeric news paths, such as news/50/63/New-Norwegian-... the same post at /news/<year>/<slug> 6 posts, 8 links
services, events /services, /events 2
helpdesk, Services/data-management /research-support 1
corona /services/covid-19-data-portal-norway 1
usegalaxy.no, www.nmbu.no (no https://) https://usegalaxy.no/, https://www.nmbu.no 3
uploads/FAIR DM_NBS_nytt_4_2018-pages-13-14.pdf the same PDF, which already sits in the post's folder 1

The ones that were a judgment call

Most of these are mechanical: the old address names a post or a page that still exists under a new address. Four are not, and for each I looked at the old page in the Wayback Machine to see what it was.

  • helpdesk was the Helpdesk page: support types, fields of expertise, support models. Research support carries the same content today.
  • Services/data-management was an overview of data management support (DSW, NeLS, Galaxy, help with deposition). No such page exists now. Research support lists data management advice, planning and brokering, so it is the closest.
  • corona was a list of COVID-19 resources that later pointed readers to the Norwegian COVID-19 Data Portal. I linked our service page for that portal.
  • The Life Science RDM Group had its own page under BioMedData. It has none now, and the BioMedData page is the only place on the site that still describes the group.

One change that is visible

In the June 2022 FAIR course post, the email link had spaces in its address, so it never rendered as a link: the page showed the raw brackets and the mailto: text. Encoding the spaces makes it a normal support@elixir.no link with the subject filled in.

How I checked

Each replacement was checked twice: that the target exists in the build, and that it is the page the sentence is talking about. After pnpm build I ran the same sweep over all pages: 0 dead page links, 0 dead assets, 0 missing anchors (before #374 it was 27 and 1). pnpm test, pnpm test:slugs and pnpm test:pages pass.

Found on the way, not fixed here

The "Visit service" button on /services/covid-19-data-portal-norway goes to covid19dataportal.no, and that domain has expired. The portal's content seems to have moved to pathogens.no. That is a decision about the service page, so I left it.

Old posts still linked to addresses from the previous site, or used links the browser read as a path under the post, so they ended in a 404. Each now points at the page it meant: the same post under its current address, the BioMedData page, research support, or the external site with its scheme.

Only link targets change, apart from one email link in a 2022 post that never rendered as a link because of spaces in its address.
Copilot AI balanced review requested due to automatic review settings November 20, 2026 14:58

Copilot AI left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Copilot was unable to review this pull request because the user who requested the review has insufficient remaining quota. Try requesting a review at a lower effort level.

An organization owner can choose the repository organization as the billing source for reviews requested by members with a paid Copilot license. Learn about Copilot code review billing.

@yasinmiran
yasinmiran merged commit f2a008b into main Nov 20, 2026
1 check passed
@yasinmiran
yasinmiran deleted the fix/old-news-links branch November 20, 2026 15:08
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants