fix(citations): refresh moved MDN reference paths#57
Merged
Conversation
MDN reorganised its reference tree: HTTP header pages moved under /Web/HTTP/Reference/Headers/, HTML global attributes under /Web/HTML/Reference/Global_attributes/, and CSS logical properties to /Web/CSS/Guides/Logical_properties_and_values. The old paths still 302-redirect (so linkinator CI passes), but the citations now point at the current canonical URLs. Verified each redirect target; content unchanged. Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
Deploying specification-website with
|
| Latest commit: |
d9b7081
|
| Status: | ✅ Deploy successful! |
| Preview URL: | https://2df0ba35.specification-website.pages.dev |
| Branch Preview URL: | https://fix-mdn-reference-path-refre.specification-website.pages.dev |
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.
What
Refreshes 24 MDN citations across 20 spec pages to MDN's current canonical URLs, after MDN reorganised its reference tree:
/Web/HTTP/Headers/…/Web/HTTP/Reference/Headers/…/Web/HTML/Global_attributes/…/Web/HTML/Reference/Global_attributes/…/Web/CSS/CSS_logical_properties_and_values/Web/CSS/Guides/Logical_properties_and_valuesThe header move covers nested directive pages too (e.g.
Content-Security-Policy/frame-ancestors,Content-Security-Policy/upgrade-insecure-requests).Why now
This was surfaced by the daily standards scan's rotating stale-citation check. The old paths still 302-redirect, so they 200 after a hop and the new linkinator CI (added in fd35ce4) does not flag them — but they're no longer canonical, and MDN does eventually retire old redirects. Each redirect target was verified live (e.g.
…/Web/HTTP/Headers/Cache-Control→…/Web/HTTP/Reference/Headers/Cache-Control) before editing. Pure URL canonicalisation — no page content, status, orupdateddates changed.Pages touched (20)
document-language,hidden-until-found,markdown-source-endpoints,html-lang,lang-attribute,locale-content,rtl-support,cache-control,compression,http3,no-vary-search,content-security-policy,cookie-attributes,frame-ancestors,hsts,mixed-content,permissions-policy,referrer-policy,x-content-type-options,well-known-overview.Verification
npm run buildpasses (149 pages, OKF reference concepts regenerate from the new URLs).npm run format:checkclean.npm run lint0 errors (1 pre-existing warning in an unrelated.astrofile). No stale paths remain (grepclean).Opened as a draft for maintainer review — not for auto-merge.
🤖 Generated with Claude Code