Skip to content

chore: fix URLs that neither exist nor redirect#35051

Closed
caugner wants to merge 1 commit intomainfrom
fix-links-to-pages-that-moved-in-content-but-dont-exist-or-redirect-in-locale
Closed

chore: fix URLs that neither exist nor redirect#35051
caugner wants to merge 1 commit intomainfrom
fix-links-to-pages-that-moved-in-content-but-dont-exist-or-redirect-in-locale

Conversation

@caugner
Copy link
Copy Markdown
Contributor

@caugner caugner commented Apr 9, 2026

Description

Fixes links to pages that moved in mdn/content, but don't exist or redirect in a the locale.

Motivation

Resolve broken links, and resolve flaws.

Additional details

Ran cargo run -- content fix-flaws --content with rari from mdn/rari#618, which resolves these broken links using the en-US redirect.

Related issues and pull requests

Part of mdn/fred#1462.

@caugner caugner requested review from a team as code owners April 9, 2026 14:21
@caugner caugner requested review from JuanVqz, hochan222, lex111, nathipg, potappo, tristantheb and yin1999 and removed request for a team April 9, 2026 14:21
@github-actions github-actions bot added l10n-ja Issues related to Japanese content. l10n-fr Issues related to French content. l10n-zh Issues related to Chinese content. l10n-es Issues related to Spanish content. l10n-ru Issues related to Russian content. l10n-ko Issues related to Korean content. l10n-pt-br Issues related to Brazilian Portuguese labels Apr 9, 2026
@github-actions
Copy link
Copy Markdown
Contributor

github-actions bot commented Apr 9, 2026

Preview URLs (300 pages)
Flaws (783)

Note! 172 documents with no flaws that don't need to be listed. 🎉

Found an unexpected or unresolvable flaw? Please report it here.

URL: /es/docs/conflicting/Learn_web_development/Core/Styling_basics_e9c27484fc406aa26076f7b27b254524ca1b80515004a02283c5839b451100d9
Title: Comprensión de los fundamentos de CSS
Flaw count: 1

  • unknown:
    • Error opening /home/runner/work/translated-content/translated-content/files/es/conflicting/learn_web_development/core/styling_basics_e9c27484fc406aa26076f7b27b254524ca1b80515004a02283c5839b451100d9/business-card.png: No such file or directory (os error 2)

URL: /es/docs/conflicting/Web/API/HTMLElement/change_event
Title: GlobalEventHandlers.onchange
Flaw count: 1

  • unknown:
    • Invalid slug for templ/sidebar: conflicting/Web/API/HTMLElement/change_event

URL: /es/docs/conflicting/Web/CSS/CSS_cascade/Value_processing_a47f4c6da6bce4fc52f8ed2ce27dc58e53fa5bd72bfef0bb04a61adbc5249cc4
Title: Valor resuelto
Flaw count: 2

  • macros:
    • Macro cssxref produces link /es/docs/Web/CSS/computed_value which is a redirect
    • Macro cssxref produces link /es/docs/Web/CSS/used_value which doesn't resolve

URL: /es/docs/Learn_web_development/Core/Accessibility/CSS_and_JavaScript
Title: Buenas prácticas de accesibilidad CSS y JavaScript
Flaw count: 3

  • broken_links:
    • Link /es/docs/Learn/Accessibility/Qué_es_la_accesibilidad is a redirect
  • macros:
    • Macro previousmenunext produces link /es/docs/Learn/Accessibility/WAI-ARIA_basics which doesn't resolve
  • unknown:
    • page(Doc) not found /es/docs/Learn/Accessibility/WAI-ARIA_basics

URL: /es/docs/Learn_web_development/Core/Accessibility/Mobile
Title: Mobile accessibility
Flaw count: 1

  • macros:
    • Macro previousmenunext produces link /es/docs/Learn/Accessibility which is a redirect

URL: /es/docs/Learn_web_development/Core/CSS_layout
Title: Diseño CSS
Flaw count: 1

  • broken_links:
    • Link /en-US/Learn/CSS/Basics/Layout doesn't resolve

URL: /es/docs/Learn_web_development/Core/CSS_layout/Floats
Title: Floats
Flaw count: 2

  • broken_links:
    • Link /es/docs/Learn/HTML/Introduction_to_HTML is a redirect
    • Link /es/docs/Learn/CSS/First_steps is a redirect

URL: /es/docs/Learn_web_development/Core/CSS_layout/Responsive_Design
Title: Diseño receptivo
Flaw count: 10

  • broken_links:
    • Link /es/docs/Learn/HTML/Introduccion_a_HTML is a redirect
    • Link /es/docs/Learn/CSS/First_steps is a redirect
    • Link /es/docs/Learn/CSS/Building_blocks is a redirect
  • macros:
    • Macro previousmenunext produces link /es/docs/Learn/CSS/CSS_layout/Multiple-column_Layout which doesn't resolve
  • unknown:
    • page(Doc) not found /es/docs/Learn/CSS/CSS_layout/Multiple-column_Layout
    • Error opening /home/runner/work/translated-content/translated-content/files/es/learn_web_development/core/css_layout/responsive_design/mdn-rwd-fixed.png: No such file or directory (os error 2)
    • Error opening /home/runner/work/translated-content/translated-content/files/es/learn_web_development/core/css_layout/responsive_design/mdn-rwd-mobile.png: No such file or directory (os error 2)
    • Error opening /home/runner/work/translated-content/translated-content/files/es/learn_web_development/core/css_layout/responsive_design/mdn-rwd-desktop.png: No such file or directory (os error 2)
    • Error opening /home/runner/work/translated-content/translated-content/files/es/learn_web_development/core/css_layout/responsive_design/mdn-rwd-font-mobile.png: No such file or directory (os error 2)
    • and 1 more flaws omitted

URL: /es/docs/Learn_web_development/Core/CSS_layout/Supporting_Older_Browsers
Title: Soporte a navegadores antiguos
Flaw count: 3

  • broken_links:
    • Link /es/docs/Learn/HTML/Introduccion_a_HTML is a redirect
    • Link /es/docs/Learn/CSS/First_steps is a redirect
  • unknown:
    • Error opening /home/runner/work/translated-content/translated-content/files/es/learn_web_development/core/css_layout/supporting_older_browsers/browser-table.png: No such file or directory (os error 2)

URL: /es/docs/Learn_web_development/Core/Frameworks_libraries/React_components
Title: Creando componentes en nuestra app de React
Flaw count: 3

  • broken_links:
    • Link /es/docs/Learn/HTML is a redirect
    • Link /es/docs/Learn/CSS is a redirect
    • Link /es/docs/Learn/JavaScript is a redirect

URL: /es/docs/Learn_web_development/Core/Frameworks_libraries/React_getting_started
Title: Primeros pasos en React
Flaw count: 4

  • broken_links:
    • Link /es/docs/Learn/HTML is a redirect
    • Link /es/docs/Learn/CSS is a redirect
    • Link /es/docs/Learn/JavaScript is a redirect
  • unknown:
    • Error opening /home/runner/work/translated-content/translated-content/files/es/learn_web_development/core/frameworks_libraries/react_getting_started/default-create-react-app.png: No such file or directory (os error 2)

URL: /es/docs/Learn_web_development/Core/Frameworks_libraries/Svelte_getting_started
Title: Introducción a Svelte
Flaw count: 3

  • broken_links:
    • Link /es/docs/Learn/HTML is a redirect
    • Link /es/docs/Learn/CSS is a redirect
    • Link /es/docs/Learn/JavaScript is a redirect

URL: /es/docs/Learn_web_development/Core/Scripting/Build_your_own_function
Title: Construye tu propia función
Flaw count: 3

  • macros:
    • Macro previousmenunext produces link /es/docs/Learn/JavaScript/Building_blocks/Functions which doesn't resolve
    • Macro domxref produces link /es/docs/Web/API/GlobalEventHandlers/onclick which is a redirect
  • unknown:
    • page(Doc) not found /es/docs/Learn/JavaScript/Building_blocks/Functions

URL: /es/docs/Learn_web_development/Core/Scripting/Events
Title: Introducción a los eventos
Flaw count: 1

  • broken_links:
    • Link /es/docs/Learn/JavaScript/First_steps is a redirect

URL: /es/docs/Learn_web_development/Core/Scripting/Loops
Title: Código de bucle
Flaw count: 3

  • broken_links:
    • Link /es/docs/Learn/JavaScript/First_steps is a redirect
  • macros:
    • Macro previousmenunext produces link /es/docs/Learn/JavaScript/Building_blocks/Functions which doesn't resolve
  • unknown:
    • page(Doc) not found /es/docs/Learn/JavaScript/Building_blocks/Functions

URL: /es/docs/Learn_web_development/Core/Scripting/Variables
Title: Almacenando la información que necesitas - Variables
Flaw count: 4

  • macros:
    • Macro jsxref produces link /es/docs/Web/JavaScript/Reference/Sentencias%2Flet which doesn't resolve
    • Macro jsxref produces link /es/docs/Web/JavaScript/Reference/Sentencias%2Fvar which doesn't resolve
    • Macro jsxref produces link /es/docs/Web/JavaScript/Reference/Gram%C3%A1tica_l%C3%A9xica which doesn't resolve
    • Macro jsxref produces link /es/docs/Web/JavaScript/Reference/Operadores%2Ftypeof which doesn't resolve

URL: /es/docs/Learn_web_development/Core/Styling_basics/Debugging_CSS
Title: Depurar el CSS
Flaw count: 4

  • broken_links:
    • Link /es/docs/Learn/Getting_started_with_the_web/Instalacion_de_software_basico is a redirect
    • Link /es/docs/Learn/Getting_started_with_the_web/Manejando_los_archivos is a redirect
    • Link /es/docs/Learn/HTML/Introduccion_a_HTML is a redirect
    • Link /es/docs/Learn/CSS/First_steps is a redirect

URL: /es/docs/Learn_web_development/Core/Styling_basics/Handling_different_text_directions
Title: Manejando diferentes direcciones de texto
Flaw count: 5

  • broken_links:
    • Link /es/docs/Learn/Getting_started_with_the_web/Installing_basic_software is a redirect
    • Link /es/docs/Learn/Getting_started_with_the_web/Dealing_with_files is a redirect
    • Link /es/docs/Learn/HTML/Introduction_to_HTML is a redirect
    • Link /es/docs/Learn/CSS/First_steps is a redirect
  • macros:
    • Macro htmlelement produces link /es/docs/Web/HTML/Reference/Elements/h2 which doesn't resolve

URL: /es/docs/Learn_web_development/Core/Text_styling/Web_fonts
Title: Fuentes web
Flaw count: 4

  • broken_links:
    • Link /es/docs/Learn/HTML/Introduccion_a_HTML is a redirect
    • Link /es/docs/Learn/CSS/First_steps is a redirect
    • Link /es/docs/Learn/CSS/Styling_text/Fundamentals is a redirect
  • macros:
    • Macro cssxref produces link /es/docs/Web/CSS/unicode-range which doesn't resolve

URL: /es/docs/Learn_web_development/Extensions/Advanced_JavaScript_objects/Classes_in_JavaScript
Title: Clases en JavaScript
Flaw count: 3

  • broken_links:
    • Link /es/docs/Learn/JavaScript/First_steps is a redirect
    • Link /es/docs/Learn/JavaScript/Building_blocks is a redirect
    • Link /es/docs/Learn/JavaScript/Objects/Basics is a redirect

URL: /es/docs/Learn_web_development/Extensions/Client-side_APIs/Client-side_storage
Title: Almacenamiento del lado cliente
Flaw count: 7

  • macros:
    • Macro glossary produces link /es/docs/Glossary/asíncronas which doesn't resolve
    • Macro domxref produces link /es/docs/Web/API/IDBRequest/onerror which doesn't resolve
    • Macro domxref produces link /es/docs/Web/API/IDBRequest/onsuccess which doesn't resolve
    • Macro domxref produces link /es/docs/Web/API/IDBOpenDBRequest/onupgradeneeded which doesn't resolve
    • Macro domxref produces link /es/docs/Web/API/fetch which is a redirect
    • and 2 more flaws omitted

URL: /es/docs/Learn_web_development/Extensions/Forms/Basic_native_form_controls
Title: Controles de formulario originales
Flaw count: 6

  • broken_links:
    • Link /es/docs/Learn/HTML/Introduccion_a_HTML is a redirect
  • macros:
    • Macro htmlelement produces link /es/docs/Web/HTML/Reference/Elements/input / search which doesn't resolve
    • Macro htmlelement produces link /es/docs/Web/HTML/Reference/Elements/input / url which doesn't resolve
    • Macro htmlelement produces link /es/docs/Web/HTML/Reference/Elements/input / tel which doesn't resolve
    • Macro htmlelement produces link /es/docs/Web/HTML/Reference/Elements/input / checkbox which doesn't resolve
    • Macro cssxref produces link /es/docs/Web/CSS/code>:default</code which doesn't resolve

URL: /es/docs/Learn_web_development/Extensions/Forms/Form_validation
Title: Validación de formularios de datos
Flaw count: 3

  • broken_links:
    • Link /es/docs/Learn/HTML is a redirect
    • Link /es/docs/Learn/CSS is a redirect
    • Link /es/docs/Learn/JavaScript is a redirect

URL: /es/docs/Learn_web_development/Extensions/Forms/How_to_build_custom_form_controls
Title: Cómo crear widgets de formularios personalizados
Flaw count: 1

  • unknown:
    • Error opening /files/4481/custom-select.png: No such file or directory (os error 2)

URL: /es/docs/Learn_web_development/Extensions/Forms/How_to_structure_a_web_form
Title: Cómo estructurar un formulario HTML
Flaw count: 3

  • broken_links:
    • Link /es/docs/Learn/HTML/Introduccion_a_HTML is a redirect
  • macros:
    • Macro htmlelement produces link /es/docs/Web/HTML/Reference/Elements/h1 which doesn't resolve
    • Macro htmlelement produces link /es/docs/Web/HTML/Reference/Elements/h2 which doesn't resolve

URL: /es/docs/Learn_web_development/Extensions/Forms/HTML5_input_types
Title: Tipos de input de HTML5
Flaw count: 5

  • broken_links:
    • Link /es/docs/Learn/HTML/Introduction_to_HTML is a redirect
  • unknown:
    • Error opening /home/runner/work/translated-content/translated-content/files/es/learn_web_development/extensions/forms/html5_input_types/search_focus.png: No such file or directory (os error 2)
    • Error opening /home/runner/work/translated-content/translated-content/files/es/learn_web_development/extensions/forms/html5_input_types/fx-android-url-type-keyboard.jpg: No such file or directory (os error 2)
    • Error opening /home/runner/work/translated-content/translated-content/files/es/learn_web_development/extensions/forms/html5_input_types/fx-android-number-type-keyboard.jpg: No such file or directory (os error 2)
    • Error opening /home/runner/work/translated-content/translated-content/files/es/learn_web_development/extensions/forms/html5_input_types/fx-macos-color.jpg: No such file or directory (os error 2)

URL: /es/docs/Learn_web_development/Extensions/Forms/Styling_web_forms
Title: Estilizando formularios HTML
Flaw count: 4

  • broken_links:
    • Link /es/docs/Learn/HTML/Introduction_to_HTML is a redirect
    • Link /es/docs/Learn/CSS/First_steps is a redirect
  • macros:
    • Macro previousmenunext produces link /es/docs/Learn/Forms/Advanced_form_styling which doesn't resolve
  • unknown:
    • page(Doc) not found /es/docs/Learn/Forms/Advanced_form_styling

URL: /es/docs/Learn_web_development/Extensions/Forms/Your_first_form
Title: Mi primer formulario HTML
Flaw count: 5

  • broken_links:
    • Link /es/docs/Learn/HTML/Introduction_to_HTML is a redirect
  • macros:
    • Macro nextmenu produces link /es/docs/Learn/Forms which is a redirect
    • Macro nextmenu produces link /es/docs/Learn/Forms/How_to_structure_a_web_form which is a redirect
    • Macro nextmenu produces link /es/docs/Learn/Forms which is a redirect
    • Macro nextmenu produces link /es/docs/Learn/Forms/How_to_structure_a_web_form which is a redirect

URL: /es/docs/Learn_web_development/Extensions/Server-side/Express_Nodejs/skeleton_website
Title: Express Tutorial Part 2: Creating a skeleton website
Flaw count: 1

  • broken_links:
    • Link /es/docs/Learn/Server-side/Express_Nodejs/development_environment is a redirect

URL: /es/docs/Mozilla/Add-ons/WebExtensions
Title: Extensiones del navegador
Flaw count: 2

  • unknown:
    • invalid url
    • invalid url

URL: /es/docs/orphaned/Web/API/GlobalEventHandlers
Title: GlobalEventHandlers
Flaw count: 94

  • macros:
    • Macro domxref produces link /es/docs/Web/API/GlobalEventHandlers which is a redirect
    • Macro domxref produces link /es/docs/Web/API/Window_ which doesn't resolve
    • Macro domxref produces link /es/docs/Web/API/GlobalEventHandlers/onabort which doesn't resolve
    • Macro domxref produces link /es/docs/Web/API/GlobalEventHandlers/onanimationcancel which doesn't resolve
    • Macro domxref produces link /es/docs/Web/API/GlobalEventHandlers/onanimationend which doesn't resolve
    • and 88 more flaws omitted
  • unknown:
    • Invalid slug for templ/sidebar: orphaned/Web/API/GlobalEventHandlers

URL: /es/docs/Web/API/Document
Title: Document
Flaw count: 100

  • macros:
    • Macro domxref produces link /es/docs/Web/API/Document/mozSyntheticDocument which doesn't resolve
    • `Macro domxref prod…

TRUNCATED!

Copy link
Copy Markdown
Member

@JuanVqz JuanVqz left a comment

Choose a reason for hiding this comment

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

Thanks! Really needed for ES team

@caugner
Copy link
Copy Markdown
Contributor Author

caugner commented Apr 9, 2026

Hm, it looks like some issues are left that I would have expected to be fixed:

Macro previousmenunext produces link /es/docs/Learn/Accessibility/WAI-ARIA_basics which doesn't resolve

I'll investigate, and update this PR if I find the cause.

Copy link
Copy Markdown
Member

@yin1999 yin1999 left a comment

Choose a reason for hiding this comment

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

LGTM for l10n-zh. Thank you @caugner

@caugner caugner closed this Apr 10, 2026
@github-project-automation github-project-automation bot moved this from 👀 Review requested to 🗃 Archive / Closed in mdn/l10n-fr - 🇫🇷 Communauté Francophone du MDN Apr 10, 2026
@github-project-automation github-project-automation bot moved this from Review requested to Archive/Closed in MDN translated-content l10n-zh Apr 10, 2026
@caugner
Copy link
Copy Markdown
Contributor Author

caugner commented Apr 10, 2026

I'll investigate, and update this PR if I find the cause.

I decided to split this up, and tackle the remaining cases in a separate future PR.

@caugner caugner deleted the fix-links-to-pages-that-moved-in-content-but-dont-exist-or-redirect-in-locale branch April 10, 2026 11:10
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

l10n-es Issues related to Spanish content. l10n-fr Issues related to French content. l10n-ja Issues related to Japanese content. l10n-ko Issues related to Korean content. l10n-pt-br Issues related to Brazilian Portuguese l10n-ru Issues related to Russian content. l10n-zh Issues related to Chinese content.

Projects

Status: Archive/Closed
Status: 🗃 Archive / Closed

Development

Successfully merging this pull request may close these issues.

4 participants