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

chore(zh-cn): remove old polyfill part #17648

Merged
merged 1 commit into from
Dec 29, 2023
Merged

chore(zh-cn): remove old polyfill part #17648

merged 1 commit into from
Dec 29, 2023

Conversation

jasonren0403
Copy link
Contributor

Description

These content do not exist in EN content anymore, do some cleanups to make the document more modern.

Motivation

Additional details

Related issues and pull requests

@jasonren0403 jasonren0403 requested a review from a team as a code owner December 29, 2023 03:02
@jasonren0403 jasonren0403 requested review from irvin and removed request for a team December 29, 2023 03:02
@github-actions github-actions bot added the l10n-zh Issues related to Chinese content. label Dec 29, 2023
Copy link
Contributor

Preview URLs (27 pages)
Flaws (71)

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

URL: /zh-CN/docs/Web/API/NodeList/forEach
Title: NodeList.prototype.forEach()
Flaw count: 1

  • macros:
    • /zh-CN/docs/Web/JavaScript/Reference/this does not exist

URL: /zh-CN/docs/Web/API/Element/prepend
Title: Element.prepend()
Flaw count: 5

  • macros:
    • wrong xref macro used (consider changing which macro you use)
    • wrong xref macro used (consider changing which macro you use)
    • /zh-CN/docs/Web/API/Text does not exist but fell back to /en-US/docs/Web/API/Text
    • wrong xref macro used (consider changing which macro you use)
    • /zh-CN/docs/Web/API/HierarchyRequestError does not exist

URL: /zh-CN/docs/Web/API/Element/append
Title: Element.append()
Flaw count: 6

  • macros:
    • wrong xref macro used (consider changing which macro you use)
    • wrong xref macro used (consider changing which macro you use)
    • /zh-CN/docs/Web/API/Text does not exist but fell back to /en-US/docs/Web/API/Text
    • wrong xref macro used (consider changing which macro you use)
    • wrong xref macro used (consider changing which macro you use)
    • and 1 more flaws omitted

URL: /zh-CN/docs/Web/API/Element/toggleAttribute
Title: Element.toggleAttribute()
Flaw count: 3

  • macros:
    • wrong xref macro used (consider changing which macro you use)
    • /zh-CN/docs/Web/API/Element/getAttributeNS does not exist but fell back to /en-US/docs/Web/API/Element/getAttributeNS
  • translation_differences:
    • Differences in the important macros (3 in common of 5 possible)

URL: /zh-CN/docs/Web/API/Element/remove
Title: Element.remove()
Flaw count: 2

  • macros:
    • /zh-CN/docs/Web/API/ChildNode does not exist
  • translation_differences:
    • Differences in the important macros (3 in common of 4 possible)

URL: /zh-CN/docs/Web/API/Fetch_API/Using_Fetch
Title: 使用 Fetch
Flaw count: 5

  • macros:
    • /zh-CN/docs/Web/API/Response/statusText does not exist but fell back to /en-US/docs/Web/API/Response/statusText
    • /zh-CN/docs/Web/API/Response/error redirects to /zh-CN/docs/Web/API/Response/error_static
    • /zh-CN/docs/Web/API/Response/redirect redirects to /zh-CN/docs/Web/API/Response/redirect_static
    • wrong xref macro used (consider changing which macro you use)
  • broken_links:
    • Anchor not lowercase

URL: /zh-CN/docs/Web/HTML/Element/datalist
Title: <datalist>:HTML 数据列表元素
Flaw count: 21

  • macros:
    • /zh-CN/docs/Web/HTML/Attributes/accept does not exist but fell back to /en-US/docs/Web/HTML/Attributes/accept
    • /zh-CN/docs/Web/HTML/Attributes/capture does not exist but fell back to /en-US/docs/Web/HTML/Attributes/capture
    • /zh-CN/docs/Web/HTML/Attributes/dirname does not exist but fell back to /en-US/docs/Web/HTML/Attributes/dirname
    • /zh-CN/docs/Web/HTML/Attributes/elementtiming does not exist but fell back to /en-US/docs/Web/HTML/Attributes/elementtiming
    • /zh-CN/docs/Web/HTML/Attributes/for does not exist but fell back to /en-US/docs/Web/HTML/Attributes/for
    • and 10 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 use the English (en-US) link as a fallback
  • translation_differences:
    • Differences in the important macros (4 in common of 10 possible)

URL: /zh-CN/docs/Web/JavaScript/Reference/Global_Objects/Math/fround
Title: Math.fround()
Flaw count: 1

  • translation_differences:
    • Differences in the important macros (2 in common of 3 possible)

URL: /zh-CN/docs/Web/JavaScript/Reference/Global_Objects/Math/clz32
Title: Math.clz32()
Flaw count: 1

  • translation_differences:
    • Differences in the important macros (2 in common of 3 possible)

URL: /zh-CN/docs/Web/JavaScript/Reference/Global_Objects/Math/sinh
Title: Math.sinh()
Flaw count: 1

  • translation_differences:
    • Differences in the important macros (2 in common of 3 possible)

URL: /zh-CN/docs/Web/JavaScript/Reference/Global_Objects/Math/sign
Title: Math.sign()
Flaw count: 1

  • translation_differences:
    • Differences in the important macros (2 in common of 3 possible)

URL: /zh-CN/docs/Web/JavaScript/Reference/Global_Objects/Math/atanh
Title: Math.atanh()
Flaw count: 1

  • translation_differences:
    • Differences in the important macros (2 in common of 3 possible)

URL: /zh-CN/docs/Web/JavaScript/Reference/Global_Objects/Math/expm1
Title: Math.expm1()
Flaw count: 1

  • translation_differences:
    • Differences in the important macros (2 in common of 3 possible)

URL: /zh-CN/docs/Web/JavaScript/Reference/Global_Objects/Math/cosh
Title: Math.cosh()
Flaw count: 1

  • translation_differences:
    • Differences in the important macros (2 in common of 3 possible)

URL: /zh-CN/docs/Web/JavaScript/Reference/Global_Objects/Math/trunc
Title: Math.trunc()
Flaw count: 1

  • translation_differences:
    • Differences in the important macros (2 in common of 3 possible)

URL: /zh-CN/docs/Web/JavaScript/Reference/Global_Objects/Math/cbrt
Title: Math.cbrt()
Flaw count: 1

  • translation_differences:
    • Differences in the important macros (2 in common of 3 possible)

URL: /zh-CN/docs/Web/JavaScript/Reference/Global_Objects/Date/now
Title: Date.now()
Flaw count: 2

  • macros:
    • /zh-CN/docs/Web/API/Console/time redirects to /zh-CN/docs/Web/API/console/time_static
    • /zh-CN/docs/Web/API/Console/timeEnd redirects to /zh-CN/docs/Web/API/console/timeend_static

URL: /zh-CN/docs/Web/JavaScript/Reference/Global_Objects/TypedArray/findIndex
Title: TypedArray.prototype.findIndex()
Flaw count: 3

  • macros:
    • /zh-CN/docs/Web/JavaScript/Reference/Global_Objects/TypedArray/findLast does not exist but fell back to /en-US/docs/Web/JavaScript/Reference/Global_Objects/TypedArray/findLast
    • /zh-CN/docs/Web/JavaScript/Reference/Global_Objects/TypedArray/findLastIndex does not exist but fell back to /en-US/docs/Web/JavaScript/Reference/Global_Objects/TypedArray/findLastIndex
  • translation_differences:
    • Differences in the important macros (2 in common of 3 possible)

URL: /zh-CN/docs/Web/JavaScript/Reference/Global_Objects/TypedArray/join
Title: TypedArray.prototype.join()
Flaw count: 1

  • translation_differences:
    • Differences in the important macros (2 in common of 3 possible)

URL: /zh-CN/docs/Web/JavaScript/Reference/Global_Objects/TypedArray/slice
Title: TypedArray.prototype.slice()
Flaw count: 1

  • translation_differences:
    • Differences in the important macros (2 in common of 4 possible)

URL: /zh-CN/docs/Web/JavaScript/Reference/Global_Objects/TypedArray/from
Title: TypedArray.from()
Flaw count: 6

  • macros:
    • /zh-CN/docs/Web/JavaScript/Reference/Global_Objects/BigUint64Array does not exist but fell back to /en-US/docs/Web/JavaScript/Reference/Global_Objects/BigUint64Array
    • /zh-CN/docs/Web/JavaScript/Reference/Global_Objects/Proxy/handler/set redirects to /zh-CN/docs/Web/JavaScript/Reference/Global_Objects/Proxy/Proxy/set
    • /zh-CN/docs/Web/JavaScript/Reference/Global_Objects/Proxy/handler/defineProperty redirects to /zh-CN/docs/Web/JavaScript/Reference/Global_Objects/Proxy/Proxy/defineProperty
  • broken_links:
    • Anchor not lowercase
    • Can't resolve /zh-CN/docs/Web/JavaScript/Guide/iterable
  • translation_differences:
    • Differences in the important macros (2 in common of 3 possible)

URL: /zh-CN/docs/Web/JavaScript/Reference/Global_Objects/TypedArray/some
Title: TypedArray.prototype.some()
Flaw count: 1

  • broken_links:
    • Anchor not lowercase

URL: /zh-CN/docs/Web/JavaScript/Reference/Global_Objects/JSON
Title: JSON
Flaw count: 5

  • macros:
    • wrong xref macro used (consider changing which macro you use)
  • broken_links:
    • Is currently http:// but can become https://
    • Is currently http:// but can become https://
    • Is currently http:// but can become https://
    • Is currently http:// but can become https://
External URLs (14)

URL: /zh-CN/docs/Web/API/Fetch_API/Using_Fetch
Title: 使用 Fetch


URL: /zh-CN/docs/Web/JavaScript/Reference/Global_Objects/Math/fround
Title: Math.fround()


URL: /zh-CN/docs/Web/JavaScript/Reference/Global_Objects/Math/sinh
Title: Math.sinh()


URL: /zh-CN/docs/Web/JavaScript/Reference/Global_Objects/Math/sign
Title: Math.sign()


URL: /zh-CN/docs/Web/JavaScript/Reference/Global_Objects/Math/trunc
Title: Math.trunc()


URL: /zh-CN/docs/Web/JavaScript/Reference/Global_Objects/Math/imul
Title: Math.imul()


URL: /zh-CN/docs/Web/JavaScript/Reference/Global_Objects/TypedArray/findIndex
Title: TypedArray.prototype.findIndex()


URL: /zh-CN/docs/Web/JavaScript/Reference/Global_Objects/TypedArray/join
Title: TypedArray.prototype.join()


URL: /zh-CN/docs/Web/JavaScript/Reference/Global_Objects/TypedArray/slice
Title: TypedArray.prototype.slice()


URL: /zh-CN/docs/Web/JavaScript/Reference/Global_Objects/TypedArray/from
Title: TypedArray.from()


URL: /zh-CN/docs/Web/JavaScript/Reference/Global_Objects/TypedArray/some
Title: TypedArray.prototype.some()

Copy link
Contributor Author

Choose a reason for hiding this comment

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

后续会提交PR更新该文档

Copy link
Contributor Author

Choose a reason for hiding this comment

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

后续会提交PR更新该文档

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

Thank you @jasonren0403

@yin1999 yin1999 merged commit 8685568 into main Dec 29, 2023
7 checks passed
@yin1999 yin1999 deleted the rm-old-polyfill-zhcn branch December 29, 2023 05:55
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
l10n-zh Issues related to Chinese content.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants