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

zh-cn: Format /web/api using Prettier (part 3) #14676

Merged
merged 2 commits into from
Jul 29, 2023
Merged

Conversation

queengooborg
Copy link
Collaborator

This PR formats the /web/api folder of the Simplified Chinese locale using Prettier. This is the third part.

@queengooborg queengooborg requested a review from a team as a code owner July 28, 2023 10:19
@queengooborg queengooborg requested review from yin1999 and removed request for a team July 28, 2023 10:19
@github-actions github-actions bot added the l10n-zh Issues related to Chinese content. label Jul 28, 2023
@github-actions
Copy link
Contributor

github-actions bot commented Jul 28, 2023

Preview URLs (100 pages)
Flaws (341)

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

URL: /zh-CN/docs/Web/API/DocumentFragment
Title: DocumentFragment
Flaw count: 8

  • macros:
    • /zh-CN/docs/Web/API/DocumentFragment/childElementCount does not exist but fell back to /en-US/docs/Web/API/DocumentFragment/childElementCount
    • /zh-CN/docs/Web/API/DocumentFragment/children does not exist but fell back to /en-US/docs/Web/API/DocumentFragment/children
    • /zh-CN/docs/Web/API/ParentNode/firstElementChild does not exist but fell back to /en-US/docs/Web/API/Element/firstElementChild
    • /zh-CN/docs/Web/API/ParentNode/lastElementChild does not exist but fell back to /en-US/docs/Web/API/Element/lastElementChild
    • /zh-CN/docs/Web/API/DocumentFragment/append does not exist but fell back to /en-US/docs/Web/API/DocumentFragment/append
    • and 2 more flaws omitted
  • translation_differences:
    • Differences in the important macros (3 in common of 5 possible)

URL: /zh-CN/docs/Web/API/DocumentFragment/querySelector
Title: DocumentFragment.querySelector()
Flaw count: 1

  • macros:
    • wrong xref macro used (consider changing which macro you use)

URL: /zh-CN/docs/Web/API/DataTransferItem/type
Title: DataTransferItem.type
Flaw count: 3

  • macros:
    • wrong xref macro used (consider changing which macro you use)
    • /zh-CN/docs/Web/API/DataTransfer/type does not exist
  • broken_links:
    • Can't resolve /zh-CN/docs/Web/HTTP/Basics_of_HTTP/MIME_types/Complete_list_of_MIME_types

URL: /zh-CN/docs/Web/API/DataTransferItem/webkitGetAsEntry
Title: DataTransferItem.webkitGetAsEntry()
Flaw count: 8

  • broken_links:
    • Can't resolve /zh-CN/docs/Web/Events/drop
    • Can use the English (en-US) link as a fallback
    • Can use the English (en-US) link as a fallback
    • Can't resolve /zh-CN/docs/Web/Events/dragover
    • Can't resolve /zh-CN/docs/Web/Events/drop
    • and 2 more flaws omitted
  • translation_differences:
    • Differences in the important macros (2 in common of 4 possible)

URL: /zh-CN/docs/Web/API/DataTransferItem/kind
Title: DataTransferItem.kind
Flaw count: 1

  • macros:
    • wrong xref macro used (consider changing which macro you use)

URL: /zh-CN/docs/Web/API/DataTransferItem/getAsString
Title: DataTransferItem.getAsString()
Flaw count: 1

  • macros:
    • wrong xref macro used (consider changing which macro you use)

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

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

URL: /zh-CN/docs/Web/API/DataTransfer/types
Title: DataTransfer.types
Flaw count: 2

  • macros:
    • wrong xref macro used (consider changing which macro you use)
    • wrong xref macro used (consider changing which macro you use)

URL: /zh-CN/docs/Web/API/DataTransfer/dropEffect
Title: DataTransfer.dropEffect
Flaw count: 2

  • macros:
    • wrong xref macro used (consider changing which macro you use)
  • translation_differences:
    • Differences in the important macros (3 in common of 5 possible)

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

  • macros:
    • wrong xref macro used (consider changing which macro you use)
    • wrong xref macro used (consider changing which macro you use)
  • translation_differences:
    • Differences in the important macros (3 in common of 4 possible)

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

  • macros:
    • wrong xref macro used (consider changing which macro you use)
    • wrong xref macro used (consider changing which macro you use)
    • wrong xref macro used (consider changing which macro you use)
    • wrong xref macro used (consider changing which macro you use)
  • translation_differences:
    • Differences in the important macros (3 in common of 5 possible)

URL: /zh-CN/docs/Web/API/DataTransferItemList/length
Title: DataTransferItemList.length
Flaw count: 1

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

URL: /zh-CN/docs/Web/API/DOMTokenList
Title: DOMTokenList
Flaw count: 11

  • macros:
    • /zh-CN/docs/Web/API/HTMLLinkElement/relList does not exist but fell back to /en-US/docs/Web/API/HTMLLinkElement/relList
    • /zh-CN/docs/Web/API/HTMLAnchorElement/relList does not exist but fell back to /en-US/docs/Web/API/HTMLAnchorElement/relList
    • /zh-CN/docs/Web/API/HTMLAreaElement/relList does not exist but fell back to /en-US/docs/Web/API/HTMLAreaElement/relList
    • /zh-CN/docs/Web/API/DOMTokenList/value does not exist but fell back to /en-US/docs/Web/API/DOMTokenList/value
    • wrong xref macro used (consider changing which macro you use)
    • and 5 more flaws omitted
  • translation_differences:
    • Differences in the important macros (2 in common of 8 possible)

URL: /zh-CN/docs/Web/API/DOMTokenList/length
Title: DOMTokenList.length
Flaw count: 1

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

URL: /zh-CN/docs/Web/API/DOMTokenList/toggle
Title: DOMTokenList.toggle()
Flaw count: 1

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

URL: /zh-CN/docs/Web/API/DOMTokenList/keys
Title: DOMTokenList.keys()
Flaw count: 1

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

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

  • macros:
    • wrong xref macro used (consider changing which macro you use)
    • wrong xref macro used (consider changing which macro you use)
  • translation_differences:
    • Differences in the important macros (3 in common of 5 possible)

URL: /zh-CN/docs/Web/API/DOMTokenList/contains
Title: DOMTokenList.contains()
Flaw count: 4

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

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

  • macros:
    • wrong xref macro used (consider changing which macro you use)
    • wrong xref macro used (consider changing which macro you use)

URL: /zh-CN/docs/Web/API/DOMImplementation/createHTMLDocument
Title: DOMImplementation.createHTMLDocument
Flaw count: 4

  • broken_links:
    • Can't resolve /zh-CN/DOM/document.implementation
    • Can't resolve /samples/domref/createHTMLDocument.html
    • Is currently http:// but can become https://
  • translation_differences:
    • Differences in the important macros (1 in common of 4 possible)

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

  • macros:
    • wrong xref macro used (consider changing which macro you use)
    • wrong xref macro used (consider changing which macro you use)
    • wrong xref macro used (consider changing which macro you use)

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

  • macros:
    • wrong xref macro used (consider changing which macro you use)
    • wrong xref macro used (consider changing which macro you use)

URL: /zh-CN/docs/Web/API/DOMParser
Title: DOMParser
Flaw count: 7

  • macros:
    • /zh-CN/docs/Web/API/DOMParser/parseFromString does not exist but fell back to /en-US/docs/Web/API/DOMParser/parseFromString
    • wrong xref macro used (consider changing which macro you use)
    • /zh-CN/docs/Glossary/xhtml+xml does not exist
    • wrong xref macro used (consider changing which macro you use)
  • broken_links:
    • Anchor not lowercase
    • Can't resolve /zh-CN/docs/Error_Console
    • Can use the English (en-US) link as a fallback

URL: /zh-CN/docs/Web/API/DOMError
Title: DOMError
Flaw count: 4

  • macros:
    • /zh-CN/docs/Web/API/DOMError/name does not exist
    • wrong xref macro used (consider changing which macro you use)
    • /zh-CN/docs/Web/API/DOMError/message does not exist
    • wrong xref macro used (consider changing which macro you use)

URL: /zh-CN/docs/Web/API/DeviceOrientationEvent
Title: DeviceOrientationEvent
Flaw count: 3

  • broken_links:
    • Can use the English (en-US) link as a fallback
    • Can't resolve /zh-CN/DOM/Orientation_and_motion_data_explained
  • translation_differences:
    • Differences in the important macros (3 in common of 4 possible)

URL: /zh-CN/docs/Web/API/Device_orientation_events/Detecting_device_orientation
Title: 检测设备方向
Flaw count: 10

  • broken_links:
    • Can't resolve /zh-CN/DOM/Orientation_and_motion_data_explained
    • 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
    • and 4 more flaws omitted
  • translation_differences:
    • Differences in the important macros (2 in common of 6 possible)

URL: /zh-CN/docs/Web/API/Document/createEvent
Title: Document.createEvent()
Flaw count: 9

  • macros:
    • /zh-CN/docs/Web/API/ProgressEvent/initProgressEvent does not exist but fell back to /en-US/docs/Web/API/ProgressEvent
    • /zh-CN/docs/Web/API/AnimationEvent/initAnimationEvent does not exist but fell back to /en-US/docs/Web/API/AnimationEvent/AnimationEvent
    • /zh-CN/docs/Web/API/TransitionEvent/initTransitionEvent does not exist but fell back to /en-US/docs/Web/API/TransitionEvent
  • broken_links:
    • Can use the English (en-US) link as a fallback
    • Can't resolve /zh-CN/docs/DOM/event
    • Can use the English (en-US) link as a fallback
    • Is currently http:// but can become https://
    • Is currently http:// but can become https://
  • translation_differences:
    • Differences in the important macros (1 in common of 3 possible)

URL: /zh-CN/docs/Web/API/Document/forms
Title: Document.forms
Flaw count: 3

  • broken_links:
    • Is currently http:// but can become https://
    • Can't resolve /zh-CN/DOM/HTMLFormElement
  • translation_differences:
    • Differences in the important macros (1 in common of 3 possible)

URL: /zh-CN/docs/Web/API/Document/visibilitychange_event
Title: visibilitychange
Flaw count: 2

  • macros:
    • wrong xref macro used (consider changing which macro you use)
  • broken_links:
    • Can use the English (en-US) link as a fallback

URL: /zh-CN/docs/Web/API/Document/implementation
Title: document.implementation
Flaw count: 6

  • macros:
    • /zh-CN/docs/Web/API/DOMImplementation/getFeature does not exist
    • /zh-CN/docs/Web/API/DOMObject does not exist
    • /zh-CN/docs/Web/API/Boolean does not exist but fell back to /en-US/docs/Web/JavaScript/Reference/Global_Objects/Boolean
  • broken_links:
    • Is currently http:// but can become https://
    • Is currently http:// but can become https://
  • translation_differences:
    • Differences in the important macros (2 in common of 4 possible)

URL: /zh-CN/docs/Web/API/Document/querySelector
Title: document.querySelector()
Flaw count: 3

  • macros:
    • wrong xref macro used (consider changing which macro you use)
  • broken_links:
    • Can't resolve /zh-CN/docs/Web/API/Document_Object_Model/Locating_DOM_elements_using_selectors
    • Can't resolve /zh-CN/docs/Web/API/Document_Object_Model/Locating_DOM_elements_using_selectors

URL: /zh-CN/docs/Web/API/Document/fullscreenerror_event
Title: Document.onfullscreenerror
Flaw count: 3

  • macros:
    • /zh-CN/docs/Web/API/Document/onfullscreenchange redirects to /zh-CN/docs/Web/API/Document/fullscreenchange_event
  • broken_links:
    • Link points to the page it's already on
  • translation_differences:
    • Differences in the important macros (2 in common of 4 possible)

URL: /zh-CN/docs/Web/API/Document/activeElement
Title: DocumentOrShadowRoot.activeElement
Flaw count: 3

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

URL: /zh-CN/docs/Web/API/Document/querySelectorAll
Title: Document.querySelectorAll
Flaw count: 8

  • macros:
    • /zh-CN/docs/Web/API/ParentNode does not exist
    • /zh-CN/docs/Web/API/ParentNode/querySelectorAll does not exist
    • /zh-CN/docs/Web/API/Div does not exist
    • /zh-CN/docs/Web/API/Iframe does not exist
    • /zh-CN/docs/Web/API/ParentNode/querySelector does not exist
    • and 1 more flaws omitted
  • broken_links:
    • Can't resolve /zh-CN/docs/Learn/CSS/Introduction_to_CSS/Attribute_selectors
    • Can't resolve /zh-CN/docs/Code_snippets/QuerySelector

URL: /zh-CN/docs/Web/API/Document/exitFullscreen
Title: Document.exitFullscreen()
Flaw count: 1

  • broken_links:
    • Can't resolve /zh-CN/DOM/Using_full-screen_mode

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

  • macros:
    • /zh-CN/docs/Web/API/HTMLUListElement does not exist but fell back to /en-US/docs/Web/API/HTMLUListElement
  • broken_links:
    • Can't resolve /zh-CN/docs/Mozilla/Tech/XUL
  • translation_differences:
    • Differences in the important macros (3 in common of 5 possible)

URL: /zh-CN/docs/Web/API/Document/evaluate
Title: Document.evaluate()
Flaw count: 9

  • macros:
    • /zh-CN/docs/Web/API/XPathResult does not exist but fell back to /en-US/docs/Web/API/XPathResult
    • /zh-CN/docs/Web/API/XPathResult does not exist but fell back to /en-US/docs/Web/API/XPathResult
  • broken_links:
    • Can use the English (en-US) link as a fallback
    • Is currently http:// but can become https://
    • Anchor not lowercase
    • Can't resolve /zh-CN/docs/Introduction_to_using_XPath_in_JavaScript
    • Can't resolve /Template:XPathResultConstants
    • and 2 more flaws omitted

URL: /zh-CN/docs/Web/API/Document/adoptNode
Title: Document.adoptNode()
Flaw count: 7

  • broken_links:
    • Can't resolve /zh-CN/docs/DOM/Node.ownerDocument
    • Can't resolve /zh-CN/DOM/Node.parentNode
    • Link points to the page it's already on
    • Is currently http:// but can become https://
    • Is currently http:// but can become https://
    • and 1 more flaws omitted
  • translation_differences:
    • Differences in the important macros (1 in common of 3 possible)

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

  • broken_links:
    • 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 (1 in common of 5 possible)

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

  • macros:
    • /zh-CN/docs/Web/API/Element/name does not exist but fell back to /en-US/docs/Web/API
    • /zh-CN/docs/Web/API/Element/name does not exist but fell back to /en-US/docs/Web/API
    • /zh-CN/docs/Web/API/Element/name does not exist but fell back to /en-US/docs/Web/API
    • /zh-CN/docs/Web/API/Element/name does not exist but fell back to /en-US/docs/Web/API
    • /zh-CN/docs/Web/API/Element/name does not exist but fell back to /en-US/docs/Web/API
    • and 1 more flaws omitted

URL: /zh-CN/docs/Web/API/Document/elementFromPoint
Title: DocumentOrShadowRoot.elementFromPoint()
Flaw count: 2

  • macros:
    • /zh-CN/docs/Web/API/DocumentOrShadowRoot does not exist
  • translation_differences:
    • Differences in the important macros (2 in common of 7 possible)

URL: /zh-CN/docs/Web/API/Document/anchors
Title: document.anchors
Flaw count: 2

  • broken_links:
    • Is currently http:// but can become https://
  • translation_differences:
    • Differences in the important macros (1 in common of 3 possible)

URL: /zh-CN/docs/Web/API/Document/fullscreenchange_event
Title: Document:fullscreenchange 事件
Flaw count: 1

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

URL: /zh-CN/docs/Web/API/Document/fullscreen
Title: document.mozFullScreen
Flaw count: 1

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

URL: /zh-CN/docs/Web/API/Document/createTextNode
Title: Document.createTextNode()
Flaw count: 1

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

URL: /zh-CN/docs/Web/API/Document/createNodeIterator
Title: Document.createNodeIterator()
Flaw count: 10

  • macros:
    • /zh-CN/docs/Web/API/Entity does not exist
    • /zh-CN/docs/Web/API/Entity does not exist
    • /zh-CN/docs/Web/API/EntityReference does not exist
    • /zh-CN/docs/Web/API/Entity does not exist
    • /zh-CN/docs/Web/API/Notation does not exist
    • and 2 more flaws omitted
  • broken_links:
    • Can't resolve /zh-CN/DOM/NodeIterator
    • Is currently http:// but can become https://
    • Can't resolve /zh-CN/docs/Web/API/NodeFilter

URL: /zh-CN/docs/Web/API/Document/lastStyleSheetSet
Title: Document.lastStyleSheetSet
Flaw count: 2

  • macros:
    • /zh-CN/docs/Web/API/Document/enableStyleSheetsForSet does not exist but fell back to /en-US/docs/Web/API/Document/enableStyleSheetsForSet
    • /zh-CN/docs/Web/API/Document/enableStyleSheetsForSet does not exist but fell back to /en-US/docs/Web/API/Document/enableStyleSheetsForSet

URL: /zh-CN/docs/Web/API/Document/queryCommandSupported
Title: Document.queryCommandSupported()
Flaw count: 1

  • macros:
    • /zh-CN/docs/Web/API/Document/queryCommandValue does not exist

URL: /zh-CN/docs/Web/API/Document/getElementById
Title: document.getElementById
Flaw count: 7

  • broken_links:
    • Can't resolve /zh-CN/docs/DOM/element.id
    • Can't resolve /zh-CN/docs/XHTML
    • Can't resolve /zh-CN/docs/XUL
    • Can't resolve /zh-CN/docs/DOM/document
    • Can't resolve /zh-CN/docs/Web/API/document.querySelector
    • and 1 more flaws omitted
  • translation_differences:
    • Differences in the important macros (3 in common of 5 possible)

URL: /zh-CN/docs/Web/API/Document/importNode
Title: document.importNode
Flaw count: 5

  • broken_links:
    • Link points to the page it's already on
    • Is currently http:// but can become https://
    • Is currently http:// but can become https://
    • Is currently http:// but can become https://
  • translation_differences:
    • Differences in the important macros (2 in common of 3 possible)

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

  • broken_links:
    • 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 (2 in common of 6 possible)

URL: /zh-CN/docs/Web/API/Document/head
Title: Document.head
Flaw count: 2

  • broken_links:
    • Is currently http:// but can become https://
  • translation_differences:
    • Differences in the important macros (1 in common of 4 possible)

URL: /zh-CN/docs/Web/API/Document/preferredStyleSheetSet
Title: Document.preferredStyleSheetSet
Flaw count: 2

  • macros:
    • /zh-CN/docs/Web/API/Document/enableStyleSheetsForSet does not exist but fell back to /en-US/docs/Web/API/Document/enableStyleSheetsForSet
  • broken_links:
    • Is currently http:// but can become https://

URL: /zh-CN/docs/Web/API/Document/pointerlockchange_event
Title: Document: pointerlockchange event
Flaw count: 2

  • macros:
    • /zh-CN/docs/Web/API/Document/onpointerlockchange does not exist
  • broken_links:
    • Can't resolve /zh-CN/docs/API/Pointer_Lock_API

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

  • broken_links:
    • Can't resolve /zh-CN/DOM/Node.namespaceURI
    • Can't resolve /zh-CN/DOM/Node.localName
    • Can't resolve /zh-CN/DOM/element.getElementsByTagNameNS
    • Is currently http:// but can become https://
    • Is currently http:// but can become https://
  • translation_differences:
    • Differences in the important macros (1 in common of 3 possible)

URL: /zh-CN/docs/Web/API/Document/scroll_event
Title: Document: scroll event
Flaw count: 3

  • macros:
    • /zh-CN/docs/Web/API/GlobalEventHandlers/onscroll redirects to /zh-CN/docs/Web/API/Element/scroll_event
  • broken_links:
    • Can't resolve /zh-CN/docs/Web/API/Document/defaultView/resize_event
  • translation_differences:
    • Differences in the important macros (2 in common of 3 possible)

URL: /zh-CN/docs/Web/API/Document/write
Title: document.write
Flaw count: 4

  • broken_links:
    • Can use the English (en-US) link as a fallback
    • Can't resolve /zh-CN/docs/Archive/Web/Writing_JavaScript_for_HTML
    • Is currently http:// but can become https://
  • translation_differences:
    • Differences in the important macros (3 in common of 5 possible)

URL: /zh-CN/docs/Web/API/Document/getSelection
Title: DocumentOrShadowRoot.getSelection()
Flaw count: 2

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

URL: /zh-CN/docs/Web/API/Document/readystatechange_event
Title: Document: readystatechange 事件
Flaw count: 2

  • broken_links:
    • Can't resolve /zh-CN/docs/Mozilla_event_reference/DOMContentLoaded_(event)
  • translation_differences:
    • Differences in the important macros (3 in common of 5 possible)

URL: /zh-CN/docs/Web/API/Document/selectionchange_event
Title: Document:selectionchange 事件
Flaw count: 1

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

URL: /zh-CN/docs/Web/API/Document/DOMContentLoaded_event
Title: Document: DOMContentLoaded 事件
Flaw count: 1

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

URL: /zh-CN/docs/Web/API/Document/createTreeWalker
Title: document.createTreeWalker()
Flaw count: 3

  • macros:
    • /zh-CN/docs/Web/API/ProcessingInstruction does not exist but fell back to /en-US/docs/Web/API/ProcessingInstruction
    • /zh-CN/docs/Web/API/NodeFilter redirects to /zh-CN/docs/Web/API/Document/createNodeIterator
  • translation_differences:
    • Differences in the important macros (3 in common of 5 possible)

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

  • broken_links:
    • Is currently http:// but can become https://
    • Is currently http:// but can become https://
  • translation_differences:
    • Differences in the important macros (1 in common of 3 possible)

URL: /zh-CN/docs/Web/API/Document/location
Title: Document.location
Flaw count: 2

  • macros:
    • wrong xref macro used (consider changing which macro you use)
  • translation_differences:
    • Differences in the important macros (2 in common of 4 possible)

URL: /zh-CN/docs/Web/API/Document/images
Title: document.images
Flaw count: 1

  • broken_links:
    • Can't resolve /zh-CN/DOM/Image

URL: /zh-CN/docs/Web/API/Document/getElementsByClassName
Title: Document.getElementsByClassName()
Flaw count: 1

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

URL: /zh-CN/docs/Web/API/Document/styleSheets
Title: DocumentOrShadowRoot.styleSheets
Flaw count: 2

  • macros:
    • /zh-CN/docs/Web/API/DocumentOrShadowRoot does not exist
  • translation_differences:
    • Differences in the important macros (2 in common of 5 possible)

URL: /zh-CN/docs/Web/API/Document/documentElement
Title: document.documentElement
Flaw count: 2

  • macros:
    • /zh-CN/docs/Web/API/Document/firstChild does not exist
  • broken_links:
    • Can use the English (en-US) link as a fallback

URL: /zh-CN/docs/Web/API/Document/cookie
Title: Document.cookie
Flaw count: 35

  • 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't resolve /zh-CN/docs/JavaScript/Reference/Global_Objects/String
    • Can't resolve /zh-CN/docs/JavaScript/Reference/Global_Objects/String
    • and 29 more flaws omitted
  • translation_differences:
    • Differences in the important macros (1 in common of 9 possible)

URL: /zh-CN/docs/Web/API/Document_Object_Model/Traversing_an_HTML_table_with_JavaScript_and_DOM_Interfaces
Title: 使用 JavaScript 和 DOM 接口遍历 HTML 表格
Flaw count: 1

  • translation_differences:
    • Differences in the important macros (1 in common of 5 possible)

URL: /zh-CN/docs/Web/API/Document_Object_Model/Whitespace
Title: HTML、CSS 和 DOM 中的空白符是如何处理的
Flaw count: 1

  • translation_differences:
    • Differences in the important macros (1 in common of 9 possible)

URL: /zh-CN/docs/Web/API/Document_Object_Model/Examples
Title: 使用 DOM 进行 web 和 XML 开发的示例
Flaw count: 2

  • macros:
    • /zh-CN/docs/Web/API/HTMLTableElement/insertRow does not exist but fell back to /en-US/docs/Web/API/HTMLTableElement/insertRow
    • /zh-CN/docs/Web/API/HTMLTableRowElement/insertCell does not exist but fell back to /en-US/docs/Web/API/HTMLTableRowElement/insertCell

URL: /zh-CN/docs/Web/API/Document_object_model/Using_the_Document_Object_Model
Title: 使用文档对象模型
Flaw count: 1

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

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

  • macros:
    • wrong xref macro used (consider changing which macro you use)
    • wrong xref macro used (consider changing which macro you use)
    • 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/HierarchyRequestError does not exist
    • and 2 more flaws omitted

URL: /zh-CN/docs/Web/API/Element/blur_event
Title: blur (event)
Flaw count: 6

  • macros:
    • wrong xref macro used (consider changing which macro you use)
  • broken_links:
    • Can use the English (en-US) link as a fallback
    • Can't resolve /zh-CN/docs/DOM/element.addEventListener
    • Link points to the page it's already on
    • Can use the English (en-US) link as a fallback
  • translation_differences:
    • Differences in the important macros (2 in common of 6 possible)

URL: /zh-CN/docs/Web/API/Element/animationstart_event
Title: animationstart
Flaw count: 6

  • macros:
    • wrong xref macro used (consider changing which macro you use)
    • wrong xref macro used (consider changing which macro you use)
  • broken_links:
    • Is currently http:// but can become https://
    • Link points to the page it's already on
    • Can use the English (en-US) link as a fallback
  • translation_differences:
    • Differences in the important macros (1 in common of 4 possible)

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

  • macros:
    • wrong xref macro used (consider changing which macro you use)
    • 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/HierarchyRequestError does not exist
    • /zh-CN/docs/Web/API/ChildNode does not exist
    • and 3 more flaws omitted
  • translation_differences:
    • Differences in the important macros (3 in common of 4 possible)

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

  • macros:
    • /zh-CN/docs/Web/HTML/Element/h1 does not exist but fell back to /en-US/docs/Web/HTML/Element/Heading_Elements
    • /zh-CN/docs/Web/HTML/Element/h2 does not exist but fell back to /en-US/docs/Web/HTML/Element/Heading_Elements
    • /zh-CN/docs/Web/HTML/Element/h3 does not exist but fell back to /en-US/docs/Web/HTML/Element/Heading_Elements
    • /zh-CN/docs/Web/HTML/Element/h4 does not exist but fell back to /en-US/docs/Web/HTML/Element/Heading_Elements
    • /zh-CN/docs/Web/HTML/Element/h5 does not exist but fell back to /en-US/docs/Web/HTML/Element/Heading_Elements
    • and 1 more flaws omitted

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

  • 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/HierarchyRequestError does not exist

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

  • macros:
    • /zh-CN/docs/Web/API/Element/getAnimations does not exist but fell back to /en-US/docs/Web/API/Element/getAnimations
    • /zh-CN/docs/Web/API/Element/getAnimations does not exist but fell back to /en-US/docs/Web/API/Element/getAnimations
  • translation_differences:
    • Differences in the important macros (3 in common of 5 possible)

URL: /zh-CN/docs/Web/API/Element/animationiteration_event
Title: GlobalEventHandlers.onanimationiteration
Flaw count: 4

  • broken_links:
    • Link points to the page it's already on
    • Link points to the page it's already on
    • Link points to the page it's already on
  • translation_differences:
    • Differences in the important macros (2 in common of 6 possible)

URL: /zh-CN/docs/Web/API/Element/animationcancel_event
Title: GlobalEventHandlers.onanimationcancel
Flaw count: 2

  • macros:
    • /zh-CN/docs/Web/API/AnimationEvent/elapsedTime does not exist but fell back to /en-US/docs/Web/API/AnimationEvent/elapsedTime
  • translation_differences:
    • Differences in the important macros (2 in common of 6 possible)

URL: /zh-CN/docs/Web/API/Element/animationend_event
Title: 元素:animationend 事件
Flaw count: 5

  • macros:
    • /zh-CN/docs/Web/API/AnimationEvent/elapsedTime does not exist but fell back to /en-US/docs/Web/API/AnimationEvent/elapsedTime
    • /zh-CN/docs/Web/API/AnimationEvent/pseudoElement does not exist but fell back to /en-US/docs/Web/API/AnimationEvent/pseudoElement
    • /zh-CN/docs/Web/API/Document/animationend_event does not exist but fell back to /en-US/docs/Web/API/Element/animationend_event
    • /zh-CN/docs/Web/API/Window/animationend_event does not exist but fell back to /en-US/docs/Web/API/Element/animationend_event
  • translation_differences:
    • Differences in the important macros (3 in common of 5 possible)

URL: /zh-CN/docs/Web/API/Element/auxclick_event
Title: GlobalEventHandlers.onauxclick
Flaw count: 1

  • translation_differences:
    • Differences in the important macros (1 in common of 6 possible)

URL: /zh-CN/docs/Web/API/DeviceMotionEvent
Title: DeviceMotionEvent
Flaw count: 3

  • broken_links:
    • Can use the English (en-US) link as a fallback
    • Can't resolve /zh-CN/DOM/Orientation_and_motion_data_explained
  • translation_differences:
    • Differences in the important macros (3 in common of 4 possible)

URL: /zh-CN/docs/Web/API/DOMPoint
Title: DOMPoint
Flaw count: 14

  • macros:
    • /zh-CN/docs/Web/API/DOMPointInit does not exist but fell back to /en-US/docs/Web/API/DOMPoint/fromPoint_static
    • /zh-CN/docs/Web/API/DOMPoint/fromPoint does not exist but fell back to /en-US/docs/Web/API/DOMPoint/fromPoint_static
    • /zh-CN/docs/Web/API/DOMPointReadOnly does not exist but fell back to /en-US/docs/Web/API/DOMPointReadOnly
    • /zh-CN/docs/Web/API/DOMPointReadOnly/fromPoint does not exist but fell back to /en-US/docs/Web/API/DOMPointReadOnly/fromPoint_static
    • /zh-CN/docs/Web/API/DOMPointInit does not exist but fell back to /en-US/docs/Web/API/DOMPoint/fromPoint_static
    • and 8 more flaws omitted
  • translation_differences:
    • Differences in the important macros (2 in common of 4 possible)

(comment last updated: 2023-07-29 02:46:08)

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.

Thanks @queengooborg. I've pushed e7fbb25 to prevent the format of syntax code blocks :)

It looks good to me now, I'm going to merge this.

@yin1999 yin1999 merged commit 92e2223 into main Jul 29, 2023
8 checks passed
@yin1999 yin1999 deleted the zh-ch/prettier/web/api/3 branch July 29, 2023 02:45
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