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 5) #14679

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 fifth part.

@queengooborg queengooborg requested a review from a team as a code owner July 28, 2023 10:39
@queengooborg queengooborg requested review from t7yang and removed request for a team July 28, 2023 10:39
@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 (506)

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

URL: /zh-CN/docs/Web/API/History_API
Title: History API
Flaw count: 10

  • macros:
    • /zh-CN/docs/Web/API/Window/onpopstate redirects to /zh-CN/docs/Web/API/Window/popstate_event
    • /zh-CN/docs/Web/API/Window/onpopstate redirects to /zh-CN/docs/Web/API/Window/popstate_event
    • /zh-CN/docs/Web/API/Window/onpopstate redirects to /zh-CN/docs/Web/API/Window/popstate_event
  • broken_links:
    • No need for the pathname in anchor links if it's the same page
    • Can't resolve /zh-CN/DOM/XMLHttpRequest
    • Can't resolve /zh-CN/DOM/XMLHttpRequest
    • Can't resolve /zh-CN/DOM/XMLHttpRequest
    • Can't resolve /zh-CN/DOM/The_structured_clone_algorithm
    • and 2 more flaws omitted

URL: /zh-CN/docs/Web/API/History_API/Example
Title: Ajax navigation example
Flaw count: 3

  • macros:
    • /zh-CN/docs/Web/API/Window/onpopstate redirects to /zh-CN/docs/Web/API/Window/popstate_event
  • broken_links:
    • Anchor not lowercase
    • Can use the English (en-US) link as a fallback

URL: /zh-CN/docs/Web/API/File_and_Directory_Entries_API/Firefox_support
Title: File and Directory Entries API support in Firefox
Flaw count: 7

  • macros:
    • /zh-CN/docs/Web/API/HTMLInputElement/webkitEntries does not exist but fell back to /en-US/docs/Web/API/HTMLInputElement/webkitEntries
    • /zh-CN/docs/Web/API/DataTransferItem/getAsEntry does not exist but fell back to /en-US/docs/Web/API/DataTransferItem/webkitGetAsEntry
    • /zh-CN/docs/Web/API/FileSystemFileEntry/createWriter does not exist but fell back to /en-US/docs/Web/API/FileSystemFileEntry/createWriter
    • /zh-CN/docs/Web/API/FileWriter does not exist
  • 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 (0 in common of 2 possible)

URL: /zh-CN/docs/Web/API/HTMLFieldSetElement
Title: HTMLFieldSetElement
Flaw count: 6

  • macros:
    • /zh-CN/docs/Web/API/HTMLFormControlsCollection does not exist but fell back to /en-US/docs/Web/API/HTMLFormControlsCollection
  • broken_links:
    • Is currently http:// but can become https://
    • Can't resolve /zh-CN/docs/Web/API/element
    • Can't resolve /zh-CN/DOM/DOMString
    • Can't resolve /zh-CN/DOM/DOMString
  • translation_differences:
    • Differences in the important macros (0 in common of 4 possible)

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

  • macros:
    • wrong xref macro used (consider changing which macro you use)
    • 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/Using_files_from_web_applications
    • Can't resolve /zh-CN/docs/DOM/File
    • Can't resolve /zh-CN/docs/DOM/FileReader
  • translation_differences:
    • Differences in the important macros (3 in common of 4 possible)

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

  • macros:
    • wrong xref macro used (consider changing which macro you use)
    • wrong xref macro used (consider changing which macro you use)
  • broken_links:
    • Can't resolve /zh-CN/docs/DOM/XMLHttpRequest/Using_XMLHttpRequest
    • Can't resolve /zh-CN/docs/DOM/XMLHttpRequest/FormData/Using_FormData_Objects

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

  • macros:
    • wrong xref macro used (consider changing which macro you use)
    • wrong xref macro used (consider changing which macro you use)
  • broken_links:
    • Can't resolve /zh-CN/docs/DOM/XMLHttpRequest/Using_XMLHttpRequest
    • Can't resolve /zh-CN/docs/DOM/XMLHttpRequest/FormData/Using_FormData_Objects

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

  • macros:
    • wrong xref macro used (consider changing which macro you use)
  • broken_links:
    • Can't resolve /zh-CN/docs/DOM/XMLHttpRequest/Using_XMLHttpRequest
    • Can't resolve /zh-CN/docs/DOM/XMLHttpRequest/FormData/Using_FormData_Objects

URL: /zh-CN/docs/Web/API/FormData/FormData
Title: FormData()
Flaw count: 3

  • broken_links:
    • Can't resolve /zh-CN/docs/DOM/XMLHttpRequest/Using_XMLHttpRequest
    • Can't resolve /zh-CN/docs/DOM/XMLHttpRequest/FormData/Using_FormData_Objects
  • translation_differences:
    • Differences in the important macros (3 in common of 4 possible)

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

  • macros:
    • 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
  • broken_links:
    • Can't resolve /zh-CN/docs/DOM/XMLHttpRequest/Using_XMLHttpRequest
    • Can't resolve /zh-CN/docs/DOM/XMLHttpRequest/FormData/Using_FormData_Objects

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

  • macros:
    • wrong xref macro used (consider changing which macro you use)
    • /zh-CN/docs/Web/API/FormDataEntryValue does not exist but fell back to /en-US/docs/Web/API/FormData
  • broken_links:
    • Can't resolve /zh-CN/docs/DOM/XMLHttpRequest/Using_XMLHttpRequest
    • Can't resolve /zh-CN/docs/DOM/XMLHttpRequest/FormData/Using_FormData_Objects

URL: /zh-CN/docs/Web/API/FormData/set
Title: FormData.set()
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/FormData/Using_FormData_Objects
Title: FormData 对象的使用
Flaw count: 4

  • broken_links:
    • Can't resolve /zh-CN/docs/AJAX
    • Anchor not lowercase
    • Can't resolve /zh-CN/docs/Web/JavaScript/Typed_arrays
  • translation_differences:
    • Differences in the important macros (0 in common of 1 possible)

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

  • macros:
    • /zh-CN/docs/Web/API/FormDataEntryValue does not exist but fell back to /en-US/docs/Web/API/FormData
  • broken_links:
    • Can't resolve /zh-CN/docs/DOM/XMLHttpRequest/Using_XMLHttpRequest
    • Can't resolve /zh-CN/docs/DOM/XMLHttpRequest/FormData/Using_FormData_Objects

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

  • broken_links:
    • Can't resolve /zh-CN/docs/DOM/XMLHttpRequest/Using_XMLHttpRequest
    • Can't resolve /zh-CN/docs/DOM/XMLHttpRequest/FormData/Using_FormData_Objects

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

  • macros:
    • wrong xref macro used (consider changing which macro you use)
  • broken_links:
    • Can't resolve /zh-CN/docs/DOM/XMLHttpRequest/Using_XMLHttpRequest
    • Can't resolve /zh-CN/docs/DOM/XMLHttpRequest/FormData/Using_FormData_Objects

URL: /zh-CN/docs/Web/API/Fullscreen_API
Title: 全屏 API
Flaw count: 9

  • macros:
    • /zh-CN/docs/Web/API/DocumentOrShadowRoot/fullscreenElement redirects to /zh-CN/docs/Web/API/Document/fullscreenElement
    • /zh-CN/docs/Web/API/Document/onfullscreenchange redirects to /zh-CN/docs/Web/API/Document/fullscreenchange_event
    • /zh-CN/docs/Web/API/Document/onfullscreenerror redirects to /zh-CN/docs/Web/API/Document/fullscreenerror_event
    • /zh-CN/docs/Web/API/Element/onfullscreenchange redirects to /zh-CN/docs/Web/API/Element/fullscreenchange_event
    • /zh-CN/docs/Web/API/Element/onfullscreenerror redirects to /zh-CN/docs/Web/API/Element/fullscreenerror_event
    • and 1 more flaws omitted
  • broken_links:
    • Can't resolve /zh-CN/docs/Web/HTTP/Feature_Policy
    • Can't resolve /zh-CN/docs/Web/HTTP/Feature_Policy/Using_Feature_Policy
    • Link points to the page it's already on

URL: /zh-CN/docs/Web/API/Fullscreen_API/Guide
Title: 全屏指南
Flaw count: 4

  • macros:
    • /zh-CN/docs/Web/API/DocumentOrShadowRoot/fullscreenElement redirects to /zh-CN/docs/Web/API/Document/fullscreenElement
    • /zh-CN/docs/Web/API/DocumentOrShadowRoot/fullscreenElement redirects to /zh-CN/docs/Web/API/Document/fullscreenElement
    • /zh-CN/docs/Web/API/Document/onfullscreenchange redirects to /zh-CN/docs/Web/API/Document/fullscreenchange_event
    • /zh-CN/docs/Web/API/Document/onfullscreenerror redirects to /zh-CN/docs/Web/API/Document/fullscreenerror_event

URL: /zh-CN/docs/Web/API/HTMLDetailsElement/toggle_event
Title: HTMLDetailsElement: toggle event
Flaw count: 1

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

URL: /zh-CN/docs/Web/API/HTMLCollection
Title: HTMLCollection
Flaw count: 2

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

URL: /zh-CN/docs/Web/API/HTMLCollection/item
Title: HTMLCollection.item
Flaw count: 1

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

URL: /zh-CN/docs/Web/API/HTMLCollection/namedItem
Title: HTMLCollection.namedItem()
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/FileReader/readyState
Title: FileReader.readyState
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/FileReader/abort_event
Title: FileReader: 中止事件 (abort)
Flaw count: 6

  • macros:
    • /zh-CN/docs/Web/API/FileReader/onabort redirects to /zh-CN/docs/Web/API/FileReader/abort_event
    • /zh-CN/docs/Web/API/FileReader/loadstart_event does not exist but fell back to /en-US/docs/Web/API/FileReader/loadstart_event
    • /zh-CN/docs/Web/API/FileReader/loadend_event does not exist but fell back to /en-US/docs/Web/API/FileReader/loadend_event
    • /zh-CN/docs/Web/API/FileReader/progress_event does not exist but fell back to /en-US/docs/Web/API/FileReader/progress_event
    • /zh-CN/docs/Web/API/FileReader/error_event does not exist but fell back to /en-US/docs/Web/API/FileReader/error_event
  • translation_differences:
    • Differences in the important macros (3 in common of 5 possible)

URL: /zh-CN/docs/Web/API/FileReader/FileReader
Title: FileReader()
Flaw count: 3

  • broken_links:
    • Can't resolve /zh-CN/docs/Web/API/File/Using_files_from_web_applications
    • Can't resolve /zh-CN/docs/Web/API/File/Using_files_from_web_applications
  • translation_differences:
    • Differences in the important macros (1 in common of 3 possible)

URL: /zh-CN/docs/Web/API/FileReader/readAsBinaryString
Title: FileReader.readAsBinaryString()
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 (2 in common of 3 possible)

URL: /zh-CN/docs/Web/API/FileReader/load_event
Title: FileReader: load event
Flaw count: 5

  • macros:
    • /zh-CN/docs/Web/API/FileReader/onload redirects to /zh-CN/docs/Web/API/FileReader/load_event
    • /zh-CN/docs/Web/API/FileReader/loadstart_event does not exist but fell back to /en-US/docs/Web/API/FileReader/loadstart_event
    • /zh-CN/docs/Web/API/FileReader/loadend_event does not exist but fell back to /en-US/docs/Web/API/FileReader/loadend_event
    • /zh-CN/docs/Web/API/FileReader/progress_event does not exist but fell back to /en-US/docs/Web/API/FileReader/progress_event
    • /zh-CN/docs/Web/API/FileReader/error_event does not exist but fell back to /en-US/docs/Web/API/FileReader/error_event

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

  • 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/URL/createObjectURL redirects to /zh-CN/docs/Web/API/URL/createObjectURL_static
  • translation_differences:
    • Differences in the important macros (3 in common of 6 possible)

URL: /zh-CN/docs/Web/API/HTMLDialogElement
Title: HTMLDialogElement
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)
    • 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/HTMLDialogElement/show
Title: HTMLDialogElement.show()
Flaw count: 2

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

URL: /zh-CN/docs/Web/API/Gamepad
Title: Gamepad
Flaw count: 15

  • macros:
    • /zh-CN/docs/Web/API/Gamepad/axes does not exist but fell back to /en-US/docs/Web/API/Gamepad/axes
    • /zh-CN/docs/Web/API/Gamepad/buttons does not exist but fell back to /en-US/docs/Web/API/Gamepad/buttons
    • /zh-CN/docs/Web/API/Gamepad/connected does not exist but fell back to /en-US/docs/Web/API/Gamepad/connected
    • /zh-CN/docs/Web/API/Gamepad/displayId does not exist but fell back to /en-US/docs/Web/API/Gamepad/displayId
    • /zh-CN/docs/Web/API/VRDisplay/displayId does not exist but fell back to /en-US/docs/Web/API/VRDisplay/displayId
    • and 9 more flaws omitted
  • broken_links:
    • Can use the English (en-US) link as a fallback

URL: /zh-CN/docs/Web/API/HTMLAudioElement
Title: HTMLAudioElement
Flaw count: 5

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

URL: /zh-CN/docs/Web/API/HTMLAudioElement/Audio
Title: Audio()
Flaw count: 2

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

URL: /zh-CN/docs/Web/API/HashChangeEvent
Title: HashChangeEvent
Flaw count: 1

  • macros:
    • /zh-CN/docs/Web/API/HTMLHyperlinkElementUtils/hash redirects to /zh-CN/docs/Web/API/HTMLAnchorElement/hash

URL: /zh-CN/docs/Web/API/HashChangeEvent/newURL
Title: HashChangeEvent.newURL
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 3 possible)

URL: /zh-CN/docs/Web/API/HashChangeEvent/oldURL
Title: HashChangeEvent.oldURL
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 3 possible)

URL: /zh-CN/docs/Web/API/GamepadEvent
Title: GamepadEvent
Flaw count: 5

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

URL: /zh-CN/docs/Web/API/GamepadEvent/gamepad
Title: GamepadEvent.gamepad
Flaw count: 2

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

URL: /zh-CN/docs/Web/API/HTML_DOM_API
Title: HTML DOM API
Flaw count: 59

  • macros:
    • /zh-CN/docs/Web/API/HTMLDataListElement does not exist but fell back to /en-US/docs/Web/API/HTMLDataListElement
    • /zh-CN/docs/Web/API/HTMLDirectoryElement does not exist
    • /zh-CN/docs/Web/API/HTMLDListElement does not exist but fell back to /en-US/docs/Web/API/HTMLDListElement
    • /zh-CN/docs/Web/API/HTMLEmbedElement does not exist but fell back to /en-US/docs/Web/API/HTMLEmbedElement
    • /zh-CN/docs/Web/API/HTMLHRElement does not exist but fell back to /en-US/docs/Web/API/HTMLHRElement
    • and 53 more flaws omitted
  • translation_differences:
    • Differences in the important macros (3 in common of 5 possible)

URL: /zh-CN/docs/Web/API/HTML_DOM_API/Microtask_guide
Title: 在 JavaScript 中通过 queueMicrotask() 使用微任务
Flaw count: 4

  • broken_links:
    • Can't resolve /zh-CN/docs/Learn/JavaScript/Asynchronous/Concepts
    • Can't resolve /zh-CN/docs/Learn/JavaScript/Asynchronous/Timeouts_and_intervals
    • Can't resolve /zh-CN/docs/Learn/JavaScript/Asynchronous/Choosing_the_right_approach
  • translation_differences:
    • Differences in the important macros (1 in common of 7 possible)

URL: /zh-CN/docs/Web/API/Gamepad_API/Using_the_Gamepad_API
Title: 使用 Gamepad API
Flaw count: 4

  • macros:
    • /zh-CN/docs/Web/API/Gamepad/index does not exist but fell back to /en-US/docs/Web/API/Gamepad/index
    • /zh-CN/docs/Web/API/Window/setInterval redirects to /zh-CN/docs/Web/API/setInterval
    • /zh-CN/docs/Web/API/Window/clearInterval redirects to /zh-CN/docs/Web/API/clearInterval
  • translation_differences:
    • Differences in the important macros (3 in common of 4 possible)

URL: /zh-CN/docs/Web/API/HTMLElement
Title: HTMLElement
Flaw count: 36

  • macros:
    • /zh-CN/docs/Web/API/GlobalEventHandlers does not exist
    • 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/Boolean does not exist but fell back to /en-US/docs/Web/JavaScript/Reference/Global_Objects/Boolean
    • and 30 more flaws omitted
  • translation_differences:
    • Differences in the important macros (2 in common of 4 possible)

URL: /zh-CN/docs/Web/API/HTMLElement/dragenter_event
Title: HTMLElement:dragenter 事件
Flaw count: 4

  • macros:
    • /zh-CN/docs/Web/API/Window/dragenter_event does not exist
    • /zh-CN/docs/Web/API/Document/dragenter_event redirects to /zh-CN/docs/Web/API/HTMLElement/dragenter_event
    • /zh-CN/docs/Web/API/SVGElement/dragenter_event does not exist
  • translation_differences:
    • Differences in the important macros (3 in common of 5 possible)

URL: /zh-CN/docs/Web/API/HTMLElement/change_event
Title: HTML 元素:change 事件
Flaw count: 1

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

URL: /zh-CN/docs/Web/API/HTMLElement/style
Title: HTMLElement:style 属性
Flaw count: 3

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

URL: /zh-CN/docs/Web/API/HTMLElement/accessKeyLabel
Title: accessKeyLabel
Flaw count: 2

  • macros:
    • /zh-CN/docs/Web/API/Element/accessKey redirects to /zh-CN/docs/Web/API/HTMLElement/accessKey
  • translation_differences:
    • Differences in the important macros (3 in common of 5 possible)

URL: /zh-CN/docs/Web/API/HTMLElement/dragend_event
Title: Document:dragend 事件
Flaw count: 10

  • macros:
    • /zh-CN/docs/Web/API/Document/drag_event redirects to /zh-CN/docs/Web/API/HTMLElement/drag_event
    • /zh-CN/docs/Web/API/Document/dragstart_event redirects to /zh-CN/docs/Web/API/HTMLElement/dragstart_event
    • /zh-CN/docs/Web/API/Document/dragover_event redirects to /zh-CN/docs/Web/API/HTMLElement/dragover_event
    • /zh-CN/docs/Web/API/Document/dragenter_event redirects to /zh-CN/docs/Web/API/HTMLElement/dragenter_event
    • /zh-CN/docs/Web/API/Document/dragleave_event redirects to /zh-CN/docs/Web/API/HTMLElement/dragleave_event
    • and 3 more flaws omitted
  • broken_links:
    • Can't resolve /zh-CN/docs/Web/API/Document/drag_event
  • translation_differences:
    • Differences in the important macros (3 in common of 5 possible)

URL: /zh-CN/docs/Web/API/HTMLElement/beforeinput_event
Title: HTMLElement: beforeinput event
Flaw count: 1

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

URL: /zh-CN/docs/Web/API/HTMLElement/dragstart_event
Title: HTMLElement:dragstart 事件
Flaw count: 4

  • macros:
    • /zh-CN/docs/Web/API/Window/dragover_event does not exist
    • /zh-CN/docs/Web/API/Document/dragover_event redirects to /zh-CN/docs/Web/API/HTMLElement/dragover_event
    • /zh-CN/docs/Web/API/SVGElement/dragover_event does not exist
  • translation_differences:
    • Differences in the important macros (3 in common of 5 possible)

URL: /zh-CN/docs/Web/API/HTMLElement/dragover_event
Title: HTMLElement:dragover 事件
Flaw count: 4

  • macros:
    • /zh-CN/docs/Web/API/Window/dragover_event does not exist
    • /zh-CN/docs/Web/API/Document/dragover_event redirects to /zh-CN/docs/Web/API/HTMLElement/dragover_event
    • /zh-CN/docs/Web/API/SVGElement/dragover_event does not exist
  • translation_differences:
    • Differences in the important macros (3 in common of 5 possible)

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

  • macros:
    • /zh-CN/docs/Web/API/GlobalEventHandlers/onclick redirects to /zh-CN/docs/Web/API/Element/click_event
    • /zh-CN/docs/Web/API/GlobalEventHandlers/ondblclick redirects to /zh-CN/docs/Web/API/Element/dblclick_event
    • /zh-CN/docs/Web/API/GlobalEventHandlers/onauxclick redirects to /zh-CN/docs/Web/API/Element/auxclick_event

URL: /zh-CN/docs/Web/API/HTMLElement/dataset
Title: HTMLElement.dataset
Flaw count: 1

  • broken_links:
    • Can't resolve /zh/docs/Learn/HTML/Howto/Use_data_attributes

URL: /zh-CN/docs/Web/API/HTMLElement/drag_event
Title: HTMLElement:drag 事件
Flaw count: 4

  • macros:
    • /zh-CN/docs/Web/API/Window/drag_event does not exist
    • /zh-CN/docs/Web/API/Document/drag_event redirects to /zh-CN/docs/Web/API/HTMLElement/drag_event
    • /zh-CN/docs/Web/API/SVGElement/drag_event does not exist
  • translation_differences:
    • Differences in the important macros (3 in common of 5 possible)

URL: /zh-CN/docs/Web/API/HTMLElement/drop_event
Title: HTMLElement:drop 事件
Flaw count: 4

  • macros:
    • /zh-CN/docs/Web/API/Window/drop_event does not exist
    • /zh-CN/docs/Web/API/Document/drop_event redirects to /zh-CN/docs/Web/API/HTMLElement/drop_event
    • /zh-CN/docs/Web/API/SVGElement/drop_event does not exist
  • translation_differences:
    • Differences in the important macros (3 in common of 5 possible)

URL: /zh-CN/docs/Web/API/HTMLElement/input_event
Title: input
Flaw count: 6

  • macros:
    • /zh-CN/docs/Web/API/GlobalEventHandlers/oninput redirects to /zh-CN/docs/Web/API/HTMLElement/input_event
    • /zh-CN/docs/Web/API/HTMLInputElement/change_event does not exist but fell back to /en-US/docs/Web/API/HTMLElement/change_event
    • wrong xref macro used (consider changing which macro you use)
  • broken_links:
    • 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 (3 in common of 5 possible)

URL: /zh-CN/docs/Web/API/HTMLElement/hidden
Title: HTMLElement.hidden
Flaw count: 1

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

URL: /zh-CN/docs/Web/API/HTMLElement/error_event
Title: error
Flaw count: 2

  • macros:
    • /zh-CN/docs/Web/API/GlobalEventHandlers/onerror redirects to /zh-CN/docs/Web/API/Window/error_event
  • translation_differences:
    • Differences in the important macros (3 in common of 5 possible)

URL: /zh-CN/docs/Web/API/HTMLElement/dragleave_event
Title: HTMLElement:dragleave 事件
Flaw count: 4

  • macros:
    • /zh-CN/docs/Web/API/Window/dragleave_event does not exist
    • /zh-CN/docs/Web/API/Document/dragleave_event redirects to /zh-CN/docs/Web/API/HTMLElement/dragleave_event
    • /zh-CN/docs/Web/API/SVGElement/dragleave_event does not exist
  • translation_differences:
    • Differences in the important macros (3 in common of 5 possible)

URL: /zh-CN/docs/Web/API/File_API/Using_files_from_web_applications
Title: 在 web 应用程序中使用文件
Flaw count: 9

  • 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/URL/createObjectURL redirects to /zh-CN/docs/Web/API/URL/createObjectURL_static
    • /zh-CN/docs/Web/API/URL/revokeObjectURL redirects to /zh-CN/docs/Web/API/URL/revokeObjectURL_static
    • /zh-CN/docs/Web/API/URL/createObjectURL redirects to /zh-CN/docs/Web/API/URL/createObjectURL_static
    • and 3 more flaws omitted
  • translation_differences:
    • Differences in the important macros (1 in common of 3 possible)

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

  • macros:
    • /zh-CN/docs/Web/API/CanvasCaptureMediaStream redirects to /zh-CN/docs/Web/API/CanvasCaptureMediaStreamTrack
    • /zh-CN/docs/Web/API/CanvasCaptureMediaStream redirects to /zh-CN/docs/Web/API/CanvasCaptureMediaStreamTrack
    • /zh-CN/docs/Web/API/HTMLMediaElement/captureStream does not exist but fell back to /en-US/docs/Web/API/HTMLMediaElement/captureStream
  • translation_differences:
    • Differences in the important macros (3 in common of 4 possible)

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

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

URL: /zh-CN/docs/Web/API/HTMLCanvasElement/getContext
Title: HTMLCanvasElement.getContext()
Flaw count: 20

  • macros:
    • /zh-CN/docs/Web/JavaScript/Reference/canvas does not exist
    • wrong xref macro used (consider changing which macro you use)
    • wrong xref macro used (consider changing which macro you use)
    • /zh-CN/docs/Web/JavaScript/Reference/canvas does not exist
    • /zh-CN/docs/Web/JavaScript/Reference/alpha does not exist
    • and 11 more flaws omitted
  • broken_links:
    • Can't resolve /zh-CN/docs/Web/WebGL
    • Can't resolve /zh-CN/docs/Web/WebGL
    • Can't resolve /zh-CN/docs/Web/WebGL
    • Can't resolve /zh-CN/docs/Web/WebGL

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

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

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

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

URL: /zh-CN/docs/Web/API/File/type
Title: File.type
Flaw count: 4

  • macros:
    • wrong xref macro used (consider changing which macro you use)
    • wrong xref macro used (consider changing which macro you use)
  • broken_links:
    • Can't resolve /zh-CN/docs/Using_files_from_web_applications
  • translation_differences:
    • Differences in the important macros (3 in common of 4 possible)

URL: /zh-CN/docs/Web/API/File/webkitRelativePath
Title: File.webkitRelativePath
Flaw count: 6

  • 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/HTMLInputElement/webkitEntries does not exist but fell back to /en-US/docs/Web/API/HTMLInputElement/webkitEntries
  • translation_differences:
    • Differences in the important macros (3 in common of 5 possible)

URL: /zh-CN/docs/Web/API/GamepadButton
Title: GamepadButton
Flaw count: 1

  • broken_links:
    • Can use the English (en-US) link as a fallback

URL: /zh-CN/docs/Web/API/GamepadButton/pressed
Title: GamepadButton.pressed
Flaw count: 2

  • macros:
    • /zh-CN/docs/Web/API/Boolean does not exist but fell back to /en-US/docs/Web/JavaScript/Reference/Global_Objects/Boolean
  • broken_links:
    • Can use the English (en-US) link as a fallback

URL: /zh-CN/docs/Web/API/GamepadButton/value
Title: GamepadButton.value
Flaw count: 2

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

URL: /zh-CN/docs/Web/API/History/state
Title: state
Flaw count: 2

  • broken_links:
    • Can't resolve /zh-CN/docs/Web/Events/popstate
  • translation_differences:
    • Differences in the important macros (2 in common of 3 possible)

URL: /zh-CN/docs/Web/API/History/back
Title: back()
Flaw count: 1

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

URL: /zh-CN/docs/Web/API/History/go
Title: go()
Flaw count: 1

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

URL: /zh-CN/docs/Web/API/History/forward
Title: forward()
Flaw count: 1

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

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

  • macros:
    • /zh-CN/docs/Web/API/FileSystemFileEntry/file does not exist but fell back to /en-US/docs/Web/API/FileSystemFileEntry/file
    • /zh-CN/docs/Web/API/FileSystemFileEntry/file does not exist but fell back to /en-US/docs/Web/API/FileSystemFileEntry/file
    • /zh-CN/docs/Web/API/FileSystemFileEntry/createWriter does not exist but fell back to /en-US/docs/Web/API/FileSystemFileEntry/createWriter
    • /zh-CN/docs/Web/API/FileWriter does not exist
    • /zh-CN/docs/Web/API/FileSystemFileEntry/createWriter does not exist but fell back to /en-US/docs/Web/API/FileSystemFileEntry/createWriter
    • and 3 more flaws omitted
  • broken_links:
    • Can't resolve /zh-CN/DOM/File_API/File_System_API
    • Can't resolve /zh-CN/docs/Web/API/Element/error_event
  • translation_differences:
    • Differences in the important macros (2 in common of 4 possible)

URL: /zh-CN/docs/Web/API/GeolocationPositionError
Title: PositionError
Flaw count: 5

  • macros:
    • /zh-CN/docs/Web/API/PositionError/code does not exist but fell back to /en-US/docs/Web/API/GeolocationPositionError/code
    • /zh-CN/docs/Web/API/PositionOptions/timeout redirects to /zh-CN/docs/Web/API/Geolocation/getCurrentPosition
    • /zh-CN/docs/Web/API/PositionError/message does not exist but fell back to /en-US/docs/Web/API/GeolocationPositionError/message
    • wrong xref macro used (consider changing which macro you use)
  • broken_links:
    • Can't resolve /zh-CN/docs/WebAPI/Using_geolocation

URL: /zh-CN/docs/Web/API/HTML_Drag_and_Drop_API
Title: HTML 拖放 API
Flaw count: 29

  • macros:
    • /zh-CN/docs/Web/API/GlobalEventHandlers/ondrag redirects to /zh-CN/docs/Web/API/HTMLElement/drag_event
    • /zh-CN/docs/Web/API/GlobalEventHandlers/ondragend does not exist but fell back to /en-US/docs/Web/API/HTMLElement/dragend_event
    • /zh-CN/docs/Web/API/GlobalEventHandlers/ondragenter does not exist but fell back to /en-US/docs/Web/API/HTMLElement/dragenter_event
    • /zh-CN/docs/Web/API/GlobalEventHandlers/ondragleave redirects to /zh-CN/docs/Web/API/HTMLElement/dragleave_event
    • /zh-CN/docs/Web/API/GlobalEventHandlers/ondragover does not exist but fell back to /en-US/docs/Web/API/HTMLElement/dragover_event
    • and 6 more flaws omitted
  • broken_links:
    • Anchor not lowercase
    • Anchor not lowercase
    • 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 13 more flaws omitted

URL: /zh-CN/docs/Web/API/HTML_Drag_and_Drop_API/File_drag_and_drop
Title: File drag and drop
Flaw count: 3

  • macros:
    • /zh-CN/docs/Web/API/GlobalEventHandlers/ondrop redirects to /zh-CN/docs/Web/API/HTMLElement/drop_event
    • /zh-CN/docs/Web/API/GlobalEventHandlers/ondragover does not exist but fell back to /en-US/docs/Web/API/HTMLElement/dragover_event
  • broken_links:
    • Can use the English (en-US) link as a fallback

URL: /zh-CN/docs/Web/API/HTML_Drag_and_Drop_API/Drag_operations
Title: 拖拽操作
Flaw count: 16

  • macros:
    • /zh-CN/docs/Web/API/GlobalEventHandlers/ondragstart does not exist but fell back to /en-US/docs/Web/API/HTMLElement/dragstart_event
    • wrong xref macro used (consider changing which macro you use)
    • /zh-CN/docs/Web/API/DataTransfer/mozUserCancelled does not exist
  • 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
    • and 8 more flaws omitted

URL: /zh-CN/docs/Web/API/HTML_Drag_and_Drop_API/Recommended_drag_types
Title: 推荐拖动类型
Flaw count: 9

  • macros:
    • /zh-CN/docs/Web/API/DataTransfer/mozSetDataAt does not exist
    • /zh-CN/docs/Web/API/DataTransfer/mozGetDataAt does not exist
    • /zh-CN/docs/Web/API/DataTransfer/mozGetDataAt does not exist
    • wrong xref macro used (consider changing which macro you use)
    • /zh-CN/docs/Web/API/DataTransfer/mozGetDataAt does not exist
  • broken_links:
    • Can't resolve /zh-CN/XPCOM_Interface_Reference/nsIFile
    • Can't resolve /zh-CN/data_URIs
    • Can't resolve /zh-CN/XPCOM_Interface_Reference/nsIInputStream
    • Can use the English (en-US) link as a fallback

URL: /zh-CN/docs/Web/API/Geolocation_API/Using_the_Geolocation_API
Title: 使用地理位置 API
Flaw count: 3

  • macros:
    • wrong xref macro used (consider changing which macro you use)
    • The fourth to sixth parameters of 'EmbedLiveSample' are deprecated
  • translation_differences:
    • Differences in the important macros (1 in common of 3 possible)

URL: /zh-CN/docs/Web/API/HTMLButtonElement
Title: HTMLButtonElement
Flaw count: 16

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

URL: /zh-CN/docs/Web/API/Headers
Title: Headers
Flaw count: 5

  • macros:
    • wrong xref macro used (consider changing which macro you use)
    • /zh-CN/docs/Web/API/Headers/getAll redirects to /zh-CN/docs/Web/API/Headers/get
  • broken_links:
    • Can use the English (en-US) link as a fallback
    • Can't resolve /zh-CN/docs/Web/HTTP/Access_control_CORS
  • translation_differences:
    • Differences in the important macros (2 in common of 4 possible)

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

  • broken_links:
    • Can use the English (en-US) link as a fallback
    • Can't resolve /zh-CN/docs/Web/HTTP/Access_control_CORS
  • translation_differences:
    • Differences in the important macros (2 in common of 4 possible)

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

  • broken_links:
    • Can use the English (en-US) link as a fallback
    • Can't resolve /zh-CN/docs/Web/HTTP/Access_control_CORS
  • translation_differences:
    • Differences in the important macros (1 in common of 4 possible)

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

  • broken_links:
    • Can use the English (en-US) link as a fallback
    • Can't resolve /zh-CN/docs/Web/HTTP/Access_control_CORS
  • translation_differences:
    • Differences in the important macros (1 in common of 3 possible)

URL: /zh-CN/docs/Web/API/Headers/has
Title: Headers.has()
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
  • broken_links:
    • Can use the English (en-US) link as a fallback
    • Can't resolve /zh-CN/docs/Web/HTTP/Access_control_CORS
  • translation_differences:
    • Differences in the important macros (2 in common of 4 possible)

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

  • broken_links:
    • Can use the English (en-US) link as a fallback
    • Can't resolve /zh-CN/docs/Web/HTTP/Access_control_CORS
  • translation_differences:
    • Differences in the important macros (2 in common of 4 possible)

URL: /zh-CN/docs/Web/API/Headers/get
Title: Headers.get()
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/Headers/getAll redirects to /zh-CN/docs/Web/API/Headers/get
  • broken_links:
    • Can use the English (en-US) link as a fallback
    • Can't resolve /zh-CN/docs/Web/HTTP/Access_control_CORS
  • translation_differences:
    • Differences in the important macros (2 in common of 5 possible)

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

  • broken_links:
    • Can use the English (en-US) link as a fallback
    • Can't resolve /zh-CN/docs/Web/HTTP/Access_control_CORS
  • translation_differences:
    • Differences in the important macros (2 in common of 5 possible)

URL: /zh-CN/docs/Web/API/Headers/Headers
Title: Headers()
Flaw count: 4

  • 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/Web/HTTP/Access_control_CORS
  • translation_differences:
    • Differences in the important macros (2 in common of 5 possible)

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

  • broken_links:
    • Can use the English (en-US) link as a fallback
    • Can't resolve /zh-CN/docs/Web/HTTP/Access_control_CORS
  • translation_differences:
    • Differences in the important macros (1 in common of 3 possible)

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

  • macros:
    • /zh-CN/docs/Web/API/Position redirects to /zh-CN/docs/Web/API/GeolocationPosition
    • /zh-CN/docs/Web/API/PositionError redirects to /zh-CN/docs/Web/API/GeolocationPositionError
    • /zh-CN/docs/Web/API/PositionOptions redirects to /zh-CN/docs/Web/API/Geolocation/getCurrentPosition
    • /zh-CN/docs/Web/API/NavigatorGeolocation/geolocation redirects to /zh-CN/docs/Web/API/Navigator/geolocation
  • broken_links:
    • Can't resolve /zh-CN/docs/WebAPI/Using_geolocation

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

  • macros:
    • /zh-CN/docs/Web/API/Position redirects to /zh-CN/docs/Web/API/GeolocationPosition
    • /zh-CN/docs/Web/API/PositionError redirects to /zh-CN/docs/Web/API/GeolocationPositionError
    • /zh-CN/docs/Web/API/PositionOptions redirects to /zh-CN/docs/Web/API/Geolocation/getCurrentPosition
  • broken_links:
    • Can't resolve /zh-CN/docs/WebAPI/Using_geolocation

(comment last updated: 2023-07-29 05:48:48)

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

@yin1999 yin1999 merged commit 2d279a6 into main Jul 29, 2023
8 checks passed
@yin1999 yin1999 deleted the zh-cn/prettier/web/api/5 branch July 29, 2023 05:47
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