Repository navigation
fix(content): repair the dead links in old news posts - #376
Merged
Merged
Conversation
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.
Contributor
There was a problem hiding this comment.
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.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
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
/services/bio-med-data,organization/biomeddata/funding-and-projects/bio-med-dataorganization/biomeddata/Life-Science-RDM-Group/funding-and-projects/bio-med-datanews/50/63/New-Norwegian-.../news/<year>/<slug>services,events/services,/eventshelpdesk,Services/data-management/research-supportcorona/services/covid-19-data-portal-norwayusegalaxy.no,www.nmbu.no(nohttps://)https://usegalaxy.no/,https://www.nmbu.nouploads/FAIR DM_NBS_nytt_4_2018-pages-13-14.pdfThe 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.
helpdeskwas the Helpdesk page: support types, fields of expertise, support models. Research support carries the same content today.Services/data-managementwas 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.coronawas 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.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 normalsupport@elixir.nolink 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 buildI 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:slugsandpnpm test:pagespass.Found on the way, not fixed here
The "Visit service" button on
/services/covid-19-data-portal-norwaygoes tocovid19dataportal.no, and that domain has expired. The portal's content seems to have moved topathogens.no. That is a decision about the service page, so I left it.