Skip to content

fix(pt-br): update stale jsxref references#37062

Merged
caugner merged 1 commit into
mainfrom
pt-br-stale-jsxref
Jul 17, 2026
Merged

fix(pt-br): update stale jsxref references#37062
caugner merged 1 commit into
mainfrom
pt-br-stale-jsxref

Conversation

@caugner

@caugner caugner commented Jul 15, 2026

Copy link
Copy Markdown
Contributor

Description

Update stale jsxref references in Portuguese, Brazilian (pt-BR) content:

  • De-link removed JavaScript features (StopIteration, ParallelArray, Object.watch/unwatch/prototype.watch(), Number.toInteger(), Reflect.enumerate(), for each...in, Function.arity, Date.toLocaleFormat, String.prototype.quote, Array.observe()/unobserve(), TypedArray.move) to inline code.
  • Point a translated slug at its canonical en-US sub-path (Declarações / exportaçãoStatements/export).

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-pt-br Issues related to Brazilian Portuguese label Jul 15, 2026
Comment thread files/pt-br/web/javascript/reference/deprecated_and_obsolete_features/index.md Outdated
Comment thread files/pt-br/web/javascript/reference/deprecated_and_obsolete_features/index.md Outdated
@github-actions

github-actions Bot commented Jul 15, 2026

Copy link
Copy Markdown
Contributor
Preview URLs (12 pages)
Flaws (8)

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

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

URL: /pt-BR/docs/Web/JavaScript/Guide/Meta_programming
Title: Meta programação
Flaw count: 1

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

URL: /pt-BR/docs/Web/JavaScript/Reference/Global_Objects
Title: Objetos Globais
Flaw count: 2

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

URL: /pt-BR/docs/Web/JavaScript/Reference/Global_Objects/Float32Array
Title: Float32Array
Flaw count: 1

  • macros:
    • Macro jsxref produces link /pt-BR/docs/Web/JavaScript/Reference/new which is a redirect

URL: /pt-BR/docs/Web/JavaScript/Reference/Global_Objects/Int16Array
Title: Int16Array
Flaw count: 1

  • macros:
    • Macro jsxref produces link /pt-BR/docs/Web/JavaScript/Reference/new which is a redirect

URL: /pt-BR/docs/Web/JavaScript/Reference/Global_Objects/Number
Title: Número
Flaw count: 1

  • macros:
    • Macro jsxref produces link /pt-BR/docs/Web/JavaScript/Reference/new which is a redirect

URL: /pt-BR/docs/Web/JavaScript/Reference/Global_Objects/Object/defineProperty
Title: Object.defineProperty()
Flaw count: 1

  • macros:
    • Macro jsxref produces link /pt-BR/docs/Web/JavaScript/Reference/null which is a redirect

URL: /pt-BR/docs/Web/JavaScript/Reference/Global_Objects/Proxy
Title: Proxy
Flaw count: 1

  • macros:
    • Sidebar jsref produces link /pt-BR/docs/Web/JavaScript/Reference/Global_Objects/Proxy/handler which is a redirect

(comment last updated: 2026-07-16 08:49:49)

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 force-pushed the pt-br-stale-jsxref branch from 8175e08 to c3f1d06 Compare July 16, 2026 08:47
@caugner
caugner marked this pull request as ready for review July 16, 2026 09:43
@caugner
caugner requested a review from a team as a code owner July 16, 2026 09:43
@caugner
caugner requested review from clovislima and removed request for a team July 16, 2026 09:43
@caugner
caugner merged commit 254496b into main Jul 17, 2026
12 checks passed
@caugner
caugner deleted the pt-br-stale-jsxref branch July 17, 2026 14:36
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

l10n-pt-br Issues related to Brazilian Portuguese

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant