Skip to content

fix: Remove httpsidebar macro #27971

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 2 commits into from
Jul 7, 2025
Merged

fix: Remove httpsidebar macro #27971

merged 2 commits into from
Jul 7, 2025

Conversation

bsmth
Copy link
Member

@bsmth bsmth commented Jul 7, 2025

Description

The httpsidebar has been removed in content in favor of sidebar front matter key. We can remove the macro now.

Motivation

Using this macro shows a warn on translated pages that still include it.

Related issues and pull requests

@bsmth bsmth requested review from a team as code owners July 7, 2025 07:49
@bsmth bsmth requested review from davbrito, sashasushko, hochan222, mfuji09, SphinxKnight and clovislima and removed request for a team July 7, 2025 07:49
@github-actions github-actions bot added l10n-ja Issues related to Japanese content. l10n-fr Issues related to French 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 Jul 7, 2025
Copy link
Contributor

github-actions bot commented Jul 7, 2025

Preview URLs (299 pages)
Flaws (1148)

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

URL: /es/docs/MDN/Writing_guidelines/Page_structures/Page_types/HTTP_header_page_template
Title: Plantilla de página de cabecera HTTP
Flaw count: 2

  • broken_links:
    • /es/docs/Web/HTTP/Headers is a redirect
  • macros:
    • Macro produces link /es/docs/Glossary/Forbidden_header_name which is a redirect

URL: /es/docs/orphaned/Web/HTTP/Basics_of_HTTP/Identifying_resources_on_the_Web
Title: Identificación de recursos web
Flaw count: 6

  • unknown:
    • Error opening /home/runner/work/translated-content/translated-content/files/es/orphaned/web/http/basics_of_http/identifying_resources_on_the_web/mdn-url-protocol@x2.png: No such file or directory (os error 2)
    • Error opening /home/runner/work/translated-content/translated-content/files/es/orphaned/web/http/basics_of_http/identifying_resources_on_the_web/mdn-url-domain@x2.png: No such file or directory (os error 2)
    • Error opening /home/runner/work/translated-content/translated-content/files/es/orphaned/web/http/basics_of_http/identifying_resources_on_the_web/mdn-url-port@x2.png: No such file or directory (os error 2)
    • Error opening /home/runner/work/translated-content/translated-content/files/es/orphaned/web/http/basics_of_http/identifying_resources_on_the_web/mdn-url-path@x2.png: No such file or directory (os error 2)
    • Error opening /home/runner/work/translated-content/translated-content/files/es/orphaned/web/http/basics_of_http/identifying_resources_on_the_web/mdn-url-parameters@x2.png: No such file or directory (os error 2)
    • and 1 more flaws omitted

URL: /es/docs/Web/HTTP/Guides/Authentication
Title: Autenticación HTTP
Flaw count: 1

  • unknown:
    • Error opening /home/runner/work/translated-content/translated-content/mdn/content/files/en-us/web/http/guides/authentication/http-auth-sequence-diagram.png: No such file or directory (os error 2)

URL: /es/docs/Web/HTTP/Guides/Caching
Title: HTTP caching
Flaw count: 4

  • unknown:
    • Error opening /home/runner/work/translated-content/translated-content/mdn/content/files/en-us/web/http/guides/caching/type-of-cache.png: No such file or directory (os error 2)
    • Error opening /home/runner/work/translated-content/translated-content/mdn/content/files/en-us/web/http/guides/caching/keyed-with-url.png: No such file or directory (os error 2)
    • Error opening /home/runner/work/translated-content/translated-content/mdn/content/files/en-us/web/http/guides/caching/keyed-with-url-and-language.png: No such file or directory (os error 2)
    • Error opening /home/runner/work/translated-content/translated-content/mdn/content/files/en-us/web/http/guides/caching/request-collapse.png: No such file or directory (os error 2)

URL: /es/docs/Web/HTTP/Guides/Conditional_requests
Title: Peticiones condicionales en HTTP
Flaw count: 12

  • macros:
    • Can't resolve /es/docs/Web/HTTP/Reference/Headers/Ranges
  • unknown:
    • Error opening /home/runner/work/translated-content/translated-content/mdn/content/files/en-us/web/http/guides/conditional_requests/cache1.png: No such file or directory (os error 2)
    • Error opening /home/runner/work/translated-content/translated-content/mdn/content/files/en-us/web/http/guides/conditional_requests/httpcache2.png: No such file or directory (os error 2)
    • Error opening /home/runner/work/translated-content/translated-content/mdn/content/files/en-us/web/http/guides/conditional_requests/httpcache3.png: No such file or directory (os error 2)
    • Error opening /home/runner/work/translated-content/translated-content/mdn/content/files/en-us/web/http/guides/conditional_requests/httpresume1.png: No such file or directory (os error 2)
    • Error opening /home/runner/work/translated-content/translated-content/mdn/content/files/en-us/web/http/guides/conditional_requests/httpresume2.png: No such file or directory (os error 2)
    • and 6 more flaws omitted

URL: /es/docs/Web/HTTP/Guides/Connection_management_in_HTTP_1.x
Title: Gestión de la conexión en HTTP/1.x
Flaw count: 1

  • macros:
    • Can't resolve /es/docs/Glossary/DoS_attack

URL: /es/docs/Web/HTTP/Guides/CORS
Title: Intercambio de recursos de origen cruzado (CORS)
Flaw count: 5

  • macros:
    • Macro produces link /es/docs/Web/API/fetch which is a redirect
  • unknown:
    • Error opening /home/runner/work/translated-content/translated-content/mdn/content/files/en-us/web/http/guides/cors/cors_principle.png: No such file or directory (os error 2)
    • Error opening /home/runner/work/translated-content/translated-content/mdn/content/files/en-us/web/http/guides/cors/simple-req.png: No such file or directory (os error 2)
    • Error opening /home/runner/work/translated-content/translated-content/mdn/content/files/en-us/web/http/guides/cors/preflight_correct.png: No such file or directory (os error 2)
    • Error opening /home/runner/work/translated-content/translated-content/mdn/content/files/en-us/web/http/guides/cors/cred-req-updated.png: No such file or directory (os error 2)

URL: /es/docs/Web/HTTP/Guides/CSP
Title: Content Security Policy (CSP)
Flaw count: 1

  • macros:
    • Can't resolve /es/docs/Glossary/XSS

URL: /es/docs/Web/HTTP/Guides/Evolution_of_HTTP
Title: Evolución del protocolo HTTP
Flaw count: 1

  • macros:
    • Can't resolve /es/docs/Web/HTTP/Reference/Headers/Client-Hints

URL: /es/docs/Web/HTTP/Guides/Messages
Title: Mensajes HTTP
Flaw count: 7

  • macros:
    • Can't resolve /es/docs/Web/HTTP/Reference/Headers/Accept-Type
    • Can't resolve /es/docs/Web/HTTP/Reference/Headers/If-None
  • unknown:
    • Error opening /home/runner/work/translated-content/translated-content/mdn/content/files/en-us/web/http/guides/messages/httpmsg2.png: No such file or directory (os error 2)
    • Error opening /home/runner/work/translated-content/translated-content/mdn/content/files/en-us/web/http/guides/messages/httpmsgstructure2.png: No such file or directory (os error 2)
    • Error opening /home/runner/work/translated-content/translated-content/mdn/content/files/en-us/web/http/guides/messages/http_request_headers3.png: No such file or directory (os error 2)
    • Error opening /home/runner/work/translated-content/translated-content/mdn/content/files/en-us/web/http/guides/messages/http_response_headers3.png: No such file or directory (os error 2)
    • Error opening /home/runner/work/translated-content/translated-content/mdn/content/files/en-us/web/http/guides/messages/binary_framing2.png: No such file or directory (os error 2)

URL: /es/docs/Web/HTTP/Guides/Overview
Title: Generalidades del protocolo HTTP
Flaw count: 1

  • macros:
    • Can't resolve /es/docs/Glossary/link

URL: /es/docs/Web/HTTP/Guides/Protocol_upgrade_mechanism
Title: Mecanismo de actualización del protocolo
Flaw count: 1

  • broken_links:
    • Can't resolve /en-US/HTTP

URL: /es/docs/Web/HTTP/Guides/Session
Title: Una típica sesión de HTTP
Flaw count: 2

  • broken_links:
    • Can't resolve /en-US/WebSockets
  • macros:
    • Macro produces link /es/docs/Web/API/Fetch which is a redirect

URL: /es/docs/Web/HTTP/Reference/Headers
Title: HTTP headers
Flaw count: 19

  • macros:
    • Macro produces link /es/docs/Glossary/Cabecera_general which is a redirect
    • Can't resolve /es/docs/Glossary/Cabecera_de_consulta
    • Can't resolve /es/docs/Glossary/Cabecera_de_respuesta
    • Can't resolve /es/docs/Glossary/Cabecera_de_entidad
    • Can't resolve /es/docs/Web/HTTP/Reference/Headers/Accept-CH-Lifetime
    • and 14 more flaws omitted

URL: /es/docs/Web/HTTP/Reference/Headers/Accept
Title: Accept
Flaw count: 3

  • macros:
    • Macro produces link /es/docs/Glossary/Forbidden_header_name which is a redirect
    • Can't resolve /es/docs/Glossary/Simple_header
    • Can't resolve /es/docs/Web/HTTP/Reference/Headers/Accept-Charset

URL: /es/docs/Web/HTTP/Reference/Headers/Accept-Ranges
Title: Accept-Ranges
Flaw count: 1

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

URL: /es/docs/Web/HTTP/Reference/Headers/Access-Control-Allow-Credentials
Title: Access-Control-Allow-Credentials
Flaw count: 1

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

URL: /es/docs/Web/HTTP/Reference/Headers/Access-Control-Allow-Headers
Title: Access-Control-Allow-Headers
Flaw count: 2

  • macros:
    • Can't resolve /es/docs/Glossary/simple_header
    • Macro produces link /es/docs/Glossary/Forbidden_header_name which is a redirect

URL: /es/docs/Web/HTTP/Reference/Headers/Access-Control-Allow-Methods
Title: Access-Control-Allow-Methods
Flaw count: 1

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

URL: /es/docs/Web/HTTP/Reference/Headers/Access-Control-Allow-Origin
Title: Access-Control-Allow-Origin
Flaw count: 1

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

URL: /es/docs/Web/HTTP/Reference/Headers/Access-Control-Expose-Headers
Title: Access-Control-Expose-Headers
Flaw count: 3

  • macros:
    • Can't resolve /es/docs/Glossary/Simple_response_header
    • Macro produces link /es/docs/Glossary/Forbidden_header_name which is a redirect
    • Can't resolve /es/docs/Glossary/Simple_response_header

URL: /es/docs/Web/HTTP/Reference/Headers/Age
Title: Age
Flaw count: 1

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

URL: /es/docs/Web/HTTP/Reference/Headers/Allow
Title: Allow
Flaw count: 1

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

URL: /es/docs/Web/HTTP/Reference/Headers/Authorization
Title: Authorization
Flaw count: 2

  • macros:
    • Can't resolve /es/docs/Glossary/Cabecera_de_respuesta
    • Macro produces link /es/docs/Glossary/Nombre_de_encabezado_prohibido which is a redirect

URL: /es/docs/Web/HTTP/Reference/Headers/Cache-Control
Title: Cache-Control
Flaw count: 1

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

URL: /es/docs/Web/HTTP/Reference/Headers/Content-Disposition
Title: Content-Disposition
Flaw count: 1

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

URL: /es/docs/Web/HTTP/Reference/Headers/Content-Encoding
Title: Content-Encoding
Flaw count: 1

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

URL: /es/docs/Web/HTTP/Reference/Headers/Content-Length
Title: Content-Length
Flaw count: 1

  • macros:
    • Can't resolve /es/docs/Glossary/Nombre_de_cabecera_prohibido

URL: /es/docs/Web/HTTP/Reference/Headers/Content-Location
Title: Content-Location
Flaw count: 1

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

URL: /es/docs/Web/HTTP/Reference/Headers/Content-Security-Policy
Title: Content-Security-Policy
Flaw count: 8

  • macros:
    • Can't resolve /es/docs/Glossary/XSS
    • Macro produces link /es/docs/Glossary/Forbidden_header_name which is a redirect
    • Can't resolve /es/docs/Web/HTTP/Reference/Headers/Content-Security-Policy/webrtc-src
    • Can't resolve /es/docs/Web/HTTP/Reference/Headers/Content-Security-Policy/plugin-types
    • Can't resolve /es/docs/Web/HTTP/Reference/Headers/Content-Security-Policy/disown-opener
    • and 3 more flaws omitted

URL: /es/docs/Web/HTTP/Reference/Headers/Content-Type
Title: Content-Type
Flaw count: 3

  • macros:
    • Macro produces link /es/docs/Glossary/Forbidden_header_name which is a redirect
    • Can't resolve /es/docs/Glossary/Simple_response_header
    • Can't resolve /es/docs/Web/HTTP/Reference/Headers/Accept-Charset

URL: /es/docs/Web/HTTP/Reference/Headers/Cookie
Title: Cookie
Flaw count: 1

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

URL: /es/docs/Web/HTTP/Reference/Headers/Cross-Origin-Resource-Policy
Title: Cross-Origin-Resource-Policy
Flaw count: 1

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

URL: /es/docs/Web/HTTP/Reference/Headers/ETag
Title: ETag
Flaw count: 1

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

URL: /es/docs/Web/HTTP/Reference/Headers/Expires
Title: Expires
Flaw count: 2

  • macros:
    • Macro produces link /es/docs/Glossary/Nombre_de_encabezado_Prohibido which is a redirect
    • Can't resolve /es/docs/Glossary/Simple_response_header

URL: /es/docs/Web/HTTP/Reference/Headers/Host
Title: Host
Flaw count: 1

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

URL: /es/docs/Web/HTTP/Reference/Headers/Keep-Alive
Title: Keep-Alive
Flaw count: 1

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

URL: /es/docs/Web/HTTP/Reference/Headers/Origin
Title: Origin
Flaw count: 1

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

URL: /es/docs/Web/HTTP/Reference/Headers/Pragma
Title: Pragma
Flaw count: 2

  • macros:
    • Macro produces link /es/docs/Glossary/Forbidden_header_name which is a redirect
    • Can't resolve /es/docs/Glossary/Simple_response_header

URL: /es/docs/Web/HTTP/Reference/Headers/Range
Title: Range
Flaw count: 1

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

URL: /es/docs/Web/HTTP/Reference/Headers/Referer
Title: Referer
Flaw count: 1

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

URL: /es/docs/Web/HTTP/Reference/Headers/Referrer-Policy
Title: Referrer-Policy
Flaw count: 1

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

URL: /es/docs/Web/HTTP/Reference/Headers/Server
Title: Server
Flaw count: 1

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

URL: /es/docs/Web/HTTP/Reference/Headers/Set-Cookie
Title: Set-Cookie
Flaw count: 2

  • macros:
    • Macro produces link /es/docs/Glossary/Forbidden_header_name which is a redirect
    • Can't resolve /es/docs/Glossary/XSS

URL: /es/docs/Web/HTTP/Reference/Headers/Strict-Transport-Security
Title: Strict-Transport-Security
Flaw count: 2

  • macros:
    • Can't resolve /es/docs/Glossary/Encabezado_de_Respuesta
    • Macro produces link /es/docs/Glossary/Nombre_de_Encabezado_Prohibido which is a redirect

URL: /es/docs/Web/HTTP/Reference/Headers/Transfer-Encoding
Title: Transfer-Encoding
Flaw count: 1

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

URL: /es/docs/Web/HTTP/Reference/Headers/User-Agent
Title: User-Agent
Flaw count: 1

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

URL: /es/docs/Web/HTTP/Reference/Headers/Vary
Title: Vary
Flaw count: 1

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

URL: /es/docs/Web/HTTP/Reference/Headers/WWW-Authenticate
Title: WWW-Authenticate
Flaw count: 1

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

URL: /es/docs/Web/HTTP/Reference/Headers/X-Content-Type-Options
Title: X-Content-Type-Options
Flaw count: 1

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

URL: /es/docs/Web/HTTP/Reference/Headers/X-Forwarded-For
Title: X-Forwarded-For
Flaw count: 1

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

URL: /es/docs/Web/HTTP/Reference/Headers/X-Frame-Options
Title: X-Frame-Options
Flaw count: 1

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

URL: /es/docs/Web/HTTP/Reference/Headers/X-XSS-Protection
Title: X-XSS-Protection
Flaw count: 2

  • macros:
    • Can't resolve /es/docs/Glossary/XSS
    • Macro produces link /es/docs/Glossary/Nombre_de_encabezado_prohibido which is a redirect

URL: /es/docs/Web/HTTP/Reference/Methods/DELETE
Title: DELETE
Flaw count: 1

  • broken_links:
    • /es/docs/Learn/Forms is a redirect

URL: /es/docs/Web/HTTP/Reference/Methods/GET
Title: GET
Flaw count: 2

  • macros:
    • Macro produces link /es/docs/Glossary/Seguro which is a redirect
    • Can't resolve /es/docs/Glossary/idempotente

URL: /es/docs/Web/HTTP/Reference/Methods/PATCH
Title: PATCH
Flaw count: 2

  • macros:
    • `Macro produces link /es/docs/Glossary…

TRUNCATED!

(comment last updated: 2025-07-07 09:21:17)

@bsmth bsmth requested a review from caugner July 7, 2025 08:19
@bsmth bsmth mentioned this pull request Jul 7, 2025
2 tasks
Copy link
Contributor

@caugner caugner left a comment

Choose a reason for hiding this comment

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

There are still some occurrences left here:

% rg -i httpsidebar --count                                                                                                                                                                                                                                                 ✭
docs/ko/fully_untranslated_files/web/Web_HTTP_Headers_Set-Cookie.md:1
files/es/conflicting/web/http/index.md:1
files/es/mdn/writing_guidelines/page_structures/page_types/http_header_page_template/index.md:2
files/pt-br/conflicting/web/http/headers/cookie/index.md:1
files/pt-br/conflicting/web/http/headers/index.md:1
files/pt-br/conflicting/web/http/headers/expect-ct/index.md:1
files/pt-br/conflicting/web/http/headers/set-cookie/index.md:1
files/pt-br/conflicting/web/http/headers/expect-ct_63e560324d2c47190db4456d746ba07b/index.md:1
files/pt-br/conflicting/web/http/index.md:1
files/ja/conflicting/web/http/headers/feature-policy/xr-spatial-tracking/index.md:1
files/ja/conflicting/web/security/certificate_transparency/index.md:1
files/fr/conflicting/web/http/headers/index.md:1
files/fr/conflicting/web/http/headers/referrer-policy/index.md:1
files/fr/conflicting/web/http/index.md:1
files/ja/mdn/writing_guidelines/page_structures/page_types/page_type_key/index.md:1
files/ja/mdn/writing_guidelines/page_structures/page_types/http_header_page_template/index.md:2
files/ko/conflicting/web/http/headers/index.md:1
files/ko/conflicting/web/http/index.md:1
files/ko/conflicting/web/http/basics_of_http/mime_types/index.md:1
files/ru/web/http/reference/headers/index.md:1
files/ru/web/http/reference/status/425/index.md:1
files/ru/web/http/guides/permissions_policy/index.md:1
files/pt-br/orphaned/web/http/headers/large-allocation/index.md:1
files/pt-br/orphaned/web/http/headers/accept-ch-lifetime/index.md:1
files/pt-br/orphaned/web/http/basics_of_http/identifying_resources_on_the_web/index.md:1
files/pt-br/web/http/reference/headers/early-data/index.md:1
files/pt-br/web/http/reference/status/425/index.md:1
files/pt-br/web/http/reference/methods/index.md:1
files/pt-br/web/http/index.md:1
files/fr/web/http/reference/headers/server/index.md:1
files/fr/web/http/reference/status/425/index.md:1
files/es/orphaned/web/http/basics_of_http/identifying_resources_on_the_web/index.md:1
files/fr/orphaned/web/http/headers/content-security-policy/plugin-types/index.md:1
files/fr/orphaned/web/http/basics_of_http/identifying_resources_on_the_web/index.md:1
files/ja/web/http/reference/headers/early-data/index.md:1
files/ja/web/http/reference/headers/clear-site-data/index.md:1
files/ko/web/http/reference/headers/access-control-allow-origin/index.md:1
files/ko/orphaned/web/http/basics_of_http/identifying_resources_on_the_web/index.md:1

@caugner caugner removed the request for review from davbrito July 7, 2025 08:57
@bsmth
Copy link
Member Author

bsmth commented Jul 7, 2025

There are still some occurrences left

Should be all done in 67db88e

@bsmth
Copy link
Member Author

bsmth commented Jul 7, 2025

Thank you! Merging now 👍🏻

@bsmth bsmth merged commit b349bcc into mdn:main Jul 7, 2025
6 checks passed
@bsmth bsmth deleted the httpsidebar branch July 7, 2025 09:41
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.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants