Skip to content
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

Remove WindowOrWorkerGlobalScope [es] #11275

Merged
merged 5 commits into from
Feb 9, 2023

Conversation

Graywolf9
Copy link
Contributor

Description

Remove WindowOrWorkerGlobalScope page and mentions for es

Steps:

  • Remove the page for Web/API/WindowOrWorkerGlobalScope
  • Search for pages with a title that starts with WindowOrWorkerGlobalScope. -- for each page:
    • Move the page a folder up using yarn content move Web/API/WindowOrWorkerGlobalScope/<prop> Web/API/<prop> <locale> in mdn-content (already moved)
    • Update the title to remove mention (AKA, WindowOrWorkerGlobalScope.caches becomes caches)
    • Update the translation_of key to remove mention (AKA, Web/API/WindowOrWorkerGlobalScope/caches becomes Web/API/caches) (there wasn't)
    • Update browser-compat key to remove mention (AKA, api.WindowOrWorkerGlobalScope.caches becomes api.caches) (there wasn't)
      • If there is no browser-compat key, but there is a {{Compat}} macro, update its value instead
      • If neither a browser-compat key or {{Compat}} macro call exist, ignore this step
  • Remove all {{domxref}} references to WindowOrWorkerGlobalScope (the regex domxref[ ]*\([ ]*["'][ ]*WindowOrWorkerGlobalScope may help find these instances)
  • Remove all the links mentioning

Motivation

Fix an issue

Additional details

Related issues and pull requests

Relates to #5617

@Graywolf9 Graywolf9 added the l10n-es Issues related to Spanish content. label Jan 27, 2023
@Graywolf9 Graywolf9 requested a review from a team as a code owner January 27, 2023 17:36
@Graywolf9 Graywolf9 requested review from Jalkhov and removed request for a team January 27, 2023 17:36
@github-actions
Copy link
Contributor

github-actions bot commented Jan 27, 2023

Preview URLs (10 pages)
Flaws (262)

URL: /es/docs/Learn/JavaScript/Client-side_web_APIs/Client-side_storage
Title: Almacenamiento del lado cliente
Flaw count: 32

  • macros:
    • /es/docs/Web/API/Cache does not exist but fell back to /en-US/docs/Web/API/Cache
    • /es/docs/Web/HTML/Element/script does not exist but fell back to /en-US/docs/Web/HTML/Element/script
    • /es/docs/Glossary/as%C3%ADncronas does not exist
    • /es/docs/Web/API/IDBRequest/onerror does not exist but fell back to /en-US/docs/Web/API/IDBRequest/error_event
    • /es/docs/Web/API/IDBRequest/onsuccess does not exist but fell back to /en-US/docs/Web/API/IDBRequest/success_event
    • and 14 more flaws omitted
  • broken_links:
    • Can use the English (en-US) link as a fallback
    • Can't resolve /es/docs/Learn/JavaScript/Client-side_web_APIs/Introducción
    • Anchor not lowercase
    • Anchor not lowercase
    • Can use the English (en-US) link as a fallback
    • and 8 more flaws omitted

URL: /es/docs/Web/API/isSecureContext
Title: isSecureContext
Flaw count: 3

  • macros:
    • /es/docs/Web/API/Boolean does not exist but fell back to /en-US/docs/Web/JavaScript/Reference/Global_Objects/Boolean
    • Calling the Compat macro with any arguments is deprecated; instead use the 'browser-compat' front-matter key.
  • translation_differences:
    • Differences in the important macros (2 in common of 5 possible)

URL: /es/docs/Web/API/setTimeout
Title: setTimeout
Flaw count: 20

  • macros:
    • /es/docs/Web/API/Window/postMessage does not exist but fell back to /en-US/docs/Web/API/Window/postMessage
    • Calling the Compat macro with any arguments is deprecated; instead use the 'browser-compat' front-matter key.
    • /es/docs/Web/API/Window/setInterval does not exist but fell back to /en-US/docs/Web/API/setInterval
  • broken_links:
    • Anchor not lowercase
    • Can use the English (en-US) link as a fallback
    • Can use the English (en-US) link as a fallback
    • Can't resolve /es/docs/JavaScript/Reference/Operators/this#Method_binding
    • Anchor not lowercase
    • and 11 more flaws omitted
  • translation_differences:
    • Differences in the important macros (1 in common of 7 possible)

URL: /es/docs/Web/API/indexedDB
Title: indexedDB
Flaw count: 6

  • macros:
    • /es/docs/Web/API/IDBFactory does not exist but fell back to /en-US/docs/Web/API/IDBFactory
    • Calling the Compat macro with any arguments is deprecated; instead use the 'browser-compat' front-matter key.
    • /es/docs/Web/API/IDBTransaction does not exist but fell back to /en-US/docs/Web/API/IDBTransaction
    • /es/docs/Web/API/IDBKeyRange does not exist but fell back to /en-US/docs/Web/API/IDBKeyRange
  • broken_links:
    • Is currently http:// but can become https://
  • translation_differences:
    • Differences in the important macros (2 in common of 4 possible)

URL: /es/docs/Web/API/caches
Title: caches
Flaw count: 4

  • macros:
    • Calling the Compat macro with any arguments is deprecated; instead use the 'browser-compat' front-matter key.
    • /es/docs/Web/API/Cache does not exist but fell back to /en-US/docs/Web/API/Cache
  • broken_links:
    • Can use the English (en-US) link as a fallback
  • translation_differences:
    • Differences in the important macros (1 in common of 6 possible)

URL: /es/docs/Web/API/Fetch_API/Using_Fetch
Title: Uso de Fetch
Flaw count: 38

  • macros:
    • /es/docs/Web/API/GlobalFetch/fetch does not exist but fell back to /en-US/docs/Web/API/fetch
    • /es/docs/Web/API/ServiceWorker_API does not exist but fell back to /en-US/docs/Web/API/Service_Worker_API
    • /es/docs/Web/API/Body/json does not exist but fell back to /en-US/docs/Web/API/Response/json
    • /es/docs/Web/API/Body does not exist
    • /es/docs/Web/API/GlobalFetch/fetch does not exist but fell back to /en-US/docs/Web/API/fetch
    • and 28 more flaws omitted
  • broken_links:
    • Anchor not lowercase
    • Can use the English (en-US) link as a fallback
    • Can use the English (en-US) link as a fallback
    • Can't resolve /es/docs/Web/HTTP/Access_control_CORS
  • translation_differences:
    • Differences in the important macros (3 in common of 4 possible)

URL: /es/docs/Web/API/fetch
Title: fetch()
Flaw count: 21

  • macros:
    • /es/docs/Web/API/WorkerGlobalScope does not exist but fell back to /en-US/docs/Web/API/WorkerGlobalScope
    • /es/docs/Web/API/Request/Request does not exist but fell back to /en-US/docs/Web/API/Request/Request
    • /es/docs/Web/API/USVString does not exist but fell back to /en-US/docs/Web/JavaScript/Reference/Global_Objects/String
    • /es/docs/Web/API/Headers does not exist but fell back to /en-US/docs/Web/API/Headers
    • /es/docs/Web/API/ByteString does not exist but fell back to /en-US/docs/Web/JavaScript/Reference/Global_Objects/String
    • and 11 more flaws omitted
  • broken_links:
    • Can use the English (en-US) link as a fallback
    • Can use the English (en-US) link as a fallback
    • Can use the English (en-US) link as a fallback
    • Can use the English (en-US) link as a fallback
    • Can't resolve /es/docs/Web/HTTP/Access_control_CORS

URL: /es/docs/Web/API/CacheStorage
Title: CacheStorage
Flaw count: 29

  • macros:
    • /es/docs/Web/API/Cache does not exist but fell back to /en-US/docs/Web/API/Cache
    • /es/docs/Web/API/ServiceWorker does not exist but fell back to /en-US/docs/Web/API/ServiceWorker
    • /es/docs/Web/API/Window/caches does not exist but fell back to /en-US/docs/Web/API/caches
    • /es/docs/Web/API/Cache does not exist but fell back to /en-US/docs/Web/API/Cache
    • /es/docs/Web/API/Cache does not exist but fell back to /en-US/docs/Web/API/Cache
    • and 22 more flaws omitted
  • broken_links:
    • Can use the English (en-US) link as a fallback
  • translation_differences:
    • Differences in the important macros (2 in common of 5 possible)

URL: /es/docs/Web/API/CacheStorage/keys
Title: CacheStorage.keys()
Flaw count: 10

  • macros:
    • /es/docs/Web/API/Cache does not exist but fell back to /en-US/docs/Web/API/Cache
    • /es/docs/Web/API/Cache does not exist but fell back to /en-US/docs/Web/API/Cache
    • /es/docs/Web/API/Cache does not exist but fell back to /en-US/docs/Web/API/Cache
    • /es/docs/Web/API/ServiceWorkerGlobalScope/onactivate does not exist
    • /es/docs/Web/API/ExtendableEvent/waitUntil does not exist but fell back to /en-US/docs/Web/API/ExtendableEvent/waitUntil
    • and 3 more flaws omitted
  • broken_links:
    • Can use the English (en-US) link as a fallback
  • translation_differences:
    • Differences in the important macros (1 in common of 5 possible)

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

  • macros:
    • /es/docs/Web/CSS/grid-row-gap does not exist but fell back to /en-US/docs/Web/CSS/row-gap
    • /es/docs/Web/CSS/grid-column-gap redirects to /es/docs/Web/CSS/column-gap
    • /es/docs/Web/CSS/clip-path does not exist but fell back to /en-US/docs/Web/CSS/clip-path
    • /es/docs/Web/CSS/@document does not exist but fell back to /en-US/docs/Web/CSS/@document
    • /es/docs/Web/API/CanvasRenderingContext2D/font does not exist but fell back to /en-US/docs/Web/API/CanvasRenderingContext2D/font
    • and 21 more flaws omitted
  • broken_links:
    • Can use the English (en-US) link as a fallback
    • Can't resolve /es/docs/Web/JavaScript/Reference/Errors/For-each-in_loops_are_deprecated
    • Can use the English (en-US) link as a fallback
    • Can't resolve /es/docs/Web/Reference/Events/messageerror
    • Can use the English (en-US) link as a fallback
    • and 68 more flaws omitted
External URLs (1)

URL: /es/docs/Web/API/Fetch_API/Using_Fetch
Title: Uso de Fetch

(comment last updated: 2023-01-27 17:40:18)

@@ -1,12 +1,12 @@
---
title: WindowOrWorkerGlobalScope.indexedDB
title: indexedDB
slug: Web/API/indexedDB
original_slug: Web/API/WindowOrWorkerGlobalScope/indexedDB
Copy link
Member

Choose a reason for hiding this comment

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

Hey, @Graywolf9 thanks for contributing, should the original slug still calling the window or worker global scope?

Copy link
Contributor Author

Choose a reason for hiding this comment

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

Thanks for the review! I had the same doubt but there is other issue about the front matter keys that says that it is a front matter added from Yari so it updates as necessary for it

Copy link
Member

Choose a reason for hiding this comment

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

but even that didn't you think we should remove it to avoid confusion in possible next reviews?

Copy link
Contributor Author

Choose a reason for hiding this comment

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

Aquí hay un ejemplo de como Yari en sus rutinas modifica ese slug, esta en: #11525

Captura de Pantalla 2023-02-09 a la(s) 10 44 20

Copy link
Contributor Author

Choose a reason for hiding this comment

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

Copy link
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.

Anyway, approved!

@Graywolf9 Graywolf9 merged commit 4a7bdb2 into mdn:main Feb 9, 2023
@Graywolf9 Graywolf9 deleted the es-remove-WindowOrWorkerGlobalScope branch July 5, 2023 22: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.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants