Skip to content

fix(es): update stale jsxref references#37060

Open
caugner wants to merge 1 commit into
mainfrom
es-stale-jsxref
Open

fix(es): update stale jsxref references#37060
caugner wants to merge 1 commit into
mainfrom
es-stale-jsxref

Conversation

@caugner

@caugner caugner commented Jul 15, 2026

Copy link
Copy Markdown
Contributor

Description

Update stale jsxref references in Spanish (es) content:

  • De-link removed JavaScript features (SIMD and its data types, StopIteration, ParallelArray, Object.prototype.watch()/unwatch(), Number.toInteger(), Reflect.enumerate(), for each...in, Function.arity/argument, Date.toLocaleFormat, String.prototype.quote, Error.prototype.description/number, Array.observe()/unobserve(), TypedArray.move) to inline code.
  • Point renamed/translated slugs at their canonical en-US sub-path (Gramatica_lexicaLexical_grammar, Modo_estrictoStrict_mode, SentenciasStatements, FuncionesFunctions, OperadoresOperators, Características_DesaprobadasDeprecated_and_obsolete_features).
  • Fix a malformed comparison-operators argument.
  • Replace jsxref to non-Reference guide pages (Closures, Data structures, Equality comparisons, JavaScript landing) with Markdown links, since jsxref cannot target them.

Motivation

Ensure jsxref references keep resolving once rari resolves macro arguments against an index of the current Web/JavaScript/Reference/* pages (mdn/rari#715) instead of probing candidate URLs and silently following redirects — which will otherwise surface these stale references as broken links.

Additional details

Related issues and pull requests

Part of #37059.
Related to mdn/rari#715.

@github-actions github-actions Bot added the l10n-es Issues related to Spanish content. label Jul 15, 2026
Comment thread files/es/web/javascript/guide/grammar_and_types/index.md Outdated
Comment thread files/es/web/javascript/reference/deprecated_and_obsolete_features/index.md Outdated
Comment thread files/es/web/javascript/reference/deprecated_and_obsolete_features/index.md Outdated
Comment thread files/es/web/javascript/guide/expressions_and_operators/index.md
Comment thread files/es/web/javascript/guide/grammar_and_types/index.md
@github-actions

github-actions Bot commented Jul 15, 2026

Copy link
Copy Markdown
Contributor
Preview URLs (21 pages)
Flaws (27)

Note! 8 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/Web/JavaScript/Reference/Global_Objects/Object/toString
Title: Object.prototype.toSource()
Flaw count: 1

  • macros:
    • Sidebar jsref produces link /es/docs/Web/JavaScript/Reference/Global_Objects/ which is a redirect

URL: /es/docs/Glossary/Primitive
Title: Primitivo
Flaw count: 2

  • macros:
    • Macro glossary produces link /es/docs/Glossary/symbol which is a redirect
    • Macro glossary produces link /es/docs/Glossary/symbol which is a redirect

URL: /es/docs/Mozilla/Firefox/Releases/57
Title: Firefox Quantum 57 para programadores
Flaw count: 7

  • macros:
    • Macro cssxref produces link /es/docs/Web/CSS/grid-row-gap which is a redirect
    • Macro cssxref produces link /es/docs/Web/CSS/grid-column-gap which is a redirect
    • Macro domxref produces link /es/docs/Web/API/MessagePort/onmessageerror which is a redirect
    • Macro domxref produces link /es/docs/Web/API/DedicatedWorkerGlobalScope/onmessageerror which is a redirect
    • Macro domxref produces link /es/docs/Web/API/Worker/onmessageerror which is a redirect
    • and 2 more flaws omitted

URL: /es/docs/Web/JavaScript/Guide/Expressions_and_operators
Title: Expresiones y operadores
Flaw count: 2

  • macros:
    • Macro jsxref produces link /es/docs/Web/JavaScript/Reference/null which is a redirect
    • Macro jsxref produces link /es/docs/Web/JavaScript/Reference/delete which is a redirect

URL: /es/docs/Web/JavaScript/Guide/Functions
Title: Funciones
Flaw count: 2

  • macros:
    • Macro jsxref produces link /es/docs/Web/JavaScript/Reference/this which is a redirect
    • Macro jsxref produces link /es/docs/Web/JavaScript/Reference/this which is a redirect

URL: /es/docs/Web/JavaScript/Guide/Grammar_and_types
Title: Gramática y Tipos
Flaw count: 3

  • macros:
    • Macro glossary produces link /es/docs/Glossary/Espacio_en_blanco which is a redirect
    • Macro jsxref produces link /es/docs/Web/JavaScript/Reference/null which is a redirect
    • Macro glossary produces link /es/docs/Glossary/Symbol which is a redirect

URL: /es/docs/Web/JavaScript/Guide/Introduction
Title: Introducción
Flaw count: 1

  • macros:
    • Macro glossary produces link /es/docs/Glossary/WWW which is a redirect

URL: /es/docs/Web/JavaScript/Guide/Meta_programming
Title: Metaprogramación
Flaw count: 1

  • macros:
    • Macro jsxref produces link /es/docs/Web/JavaScript/Reference/instanceof which is a redirect

URL: /es/docs/Web/JavaScript/Reference/Functions/Arrow_functions
Title: Funciones Flecha
Flaw count: 2

  • macros:
    • Macro jsxref produces link /es/docs/Web/JavaScript/Reference/this which is a redirect
    • Macro jsxref produces link /es/docs/Web/JavaScript/Reference/this which is a redirect

URL: /es/docs/Web/JavaScript/Reference/Global_Objects
Title: Objetos globales
Flaw count: 2

  • macros:
    • Macro jsxref produces link /es/docs/Web/JavaScript/Reference/this which is a redirect
    • Macro jsxref produces link /es/docs/Web/JavaScript/Reference/null which is a redirect

URL: /es/docs/Web/JavaScript/Reference/Global_Objects/Error
Title: Error
Flaw count: 1

  • macros:
    • Macro jsxref produces link /es/docs/Web/JavaScript/Reference/instanceof which is a redirect

URL: /es/docs/Web/JavaScript/Reference/Global_Objects/Object/defineProperty
Title: Object.defineProperty()
Flaw count: 2

  • macros:
    • Macro jsxref produces link /es/docs/Web/JavaScript/Reference/delete which is a redirect
    • Macro jsxref produces link /es/docs/Web/JavaScript/Reference/null which is a redirect

URL: /es/docs/Web/JavaScript/Reference/Statements/for...in
Title: for...in
Flaw count: 1

  • macros:
    • Macro jsxref produces link /es/docs/Web/JavaScript/Reference/delete which is a redirect
External URLs (4)

URL: /es/docs/Mozilla/Firefox/Releases/57
Title: Firefox Quantum 57 para programadores


URL: /es/docs/Web/JavaScript/Guide/Grammar_and_types
Title: Gramática y Tipos

(comment last updated: 2026-07-16 08:46:24)

Resolve `jsxref` macro arguments that no longer point at an existing
`Web/JavaScript/Reference/*` page. An upcoming rari change (mdn/rari#715)
resolves these against an index instead of probing candidate URLs and
following redirects, which surfaces such stale references as broken links.
@caugner
caugner marked this pull request as ready for review July 16, 2026 09:40
@caugner
caugner requested a review from a team as a code owner July 16, 2026 09:40
@caugner
caugner requested review from JuanVqz and removed request for a team July 16, 2026 09:40
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.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant