Skip to content

Comments

Replace {{event)}} with domxref (batch #4)#14584

Merged
sideshowbarker merged 9 commits intomdn:mainfrom
teoli2003:remove-event-macro-4
Apr 2, 2022
Merged

Replace {{event)}} with domxref (batch #4)#14584
sideshowbarker merged 9 commits intomdn:mainfrom
teoli2003:remove-event-macro-4

Conversation

@teoli2003
Copy link
Contributor

Now that we have updated events on MDN/content, we can replace {{event}} (that is ambiguous or lead to unwanted redirects) with the {{domxref}} macros.

@teoli2003 teoli2003 requested review from a team as code owners April 2, 2022 12:25
@teoli2003 teoli2003 requested review from Elchi3 and sideshowbarker and removed request for a team April 2, 2022 12:25
@github-actions github-actions bot added Content:HTTP HTTP docs Content:Other Any docs not covered by another "Content:" label Content:WebAPI Web API docs labels Apr 2, 2022
@github-actions
Copy link
Contributor

github-actions bot commented Apr 2, 2022

Preview URLs

Flaws

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

URL: /en-US/docs/Mozilla/Firefox/Releases/31
Title: Firefox 31 for developers
on GitHub
Flaw count: 18

  • broken_links:
    • Can't resolve /en-US/docs/Tools/Eyedropper
    • Can't resolve /en-US/docs/Tools/Web_Console#error_messages
    • Can't resolve /en-US/docs/Tools/Page_Inspector#box_model_view
    • Can't resolve /en-US/docs/Tools/Web_Console#styling_messages
    • Can't resolve /en-US/docs/Tools/Network_Monitor#copy_as_curl
    • and 13 more flaws omitted

URL: /en-US/docs/Mozilla/Firefox/Releases/62
Title: Firefox 62 for developers
on GitHub
Flaw count: 11

  • macros:
    • /en-US/docs/Web/API/DOMPointInit redirects to /en-US/docs/Web/API/DOMPoint/fromPoint
    • /en-US/docs/Web/API/Navigator/registerContentHandler does not exist
  • broken_links:
    • Can't resolve /en-US/docs/Tools/Page_Inspector/How_to/Edit_CSS_shapes
    • Can't resolve /en-US/docs/Tools/Page_Inspector/3-pane_mode
    • Can't resolve /en-US/docs/Tools/Page_Inspector/How_to/Examine_grid_layouts
    • Can't resolve /en-US/docs/Tools/Web_Console/Split_console
    • Can't resolve /en-US/docs/Tools/Network_Monitor
    • and 4 more flaws omitted

URL: /en-US/docs/Mozilla/Firefox/Releases/44
Title: Firefox 44 for developers
on GitHub
Flaw count: 24

  • macros:
    • /en-US/docs/Web/CSS/-moz-math-display does not exist
    • /en-US/docs/Web/CSS/-moz-window-shadow does not exist
    • /en-US/docs/Web/CSS/@page/marks does not exist
    • /en-US/docs/Web/CSS/page does not exist
    • /en-US/docs/Web/CSS/size does not exist
    • and 11 more flaws omitted
  • broken_links:
    • Can't resolve /en-US/docs/Tools/Memory
    • Can't resolve /en-US/docs/Tools/Page_Inspector/How_to/Work_with_animations
    • Can't resolve /en-US/docs/Tools/Performance/Waterfall#markers
    • Can't resolve /en-US/docs/Mozilla/Add-ons/Firefox_for_Android/API/Snackbars.jsm
    • Can't resolve /en-US/docs/Mozilla/Firefox_for_Android
    • and 3 more flaws omitted

URL: /en-US/docs/Web/API/Gamepad
Title: Gamepad
on GitHub
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: /en-US/docs/Web/API/HTMLBodyElement
Title: HTMLBodyElement
on GitHub
Flaw count: 18

  • macros:
    • wrong xref macro used (consider changing which macro you use)
    • wrong xref macro used (consider changing which macro you use)
    • /en-US/docs/Web/API/HTMLBodyElement/aLink does not exist
    • /en-US/docs/Web/API/HTMLBodyElement/background does not exist
    • /en-US/docs/Web/API/HTMLBodyElement/bgColor does not exist
    • and 7 more flaws omitted
  • bad_bcd_links:
    • no explanation!
    • no explanation!
    • no explanation!
    • no explanation!
    • no explanation!
    • and 1 more flaws omitted

URL: /en-US/docs/Web/API/DeviceOrientationEvent
Title: DeviceOrientationEvent
on GitHub
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 /en-US/docs/Web/API/Detecting_device_orientation
    • Can't resolve /en-US/docs/Web/Guide/Events/Orientation_and_motion_data_explained

URL: /en-US/docs/Web/API/DeviceOrientationEvent/alpha
Title: DeviceOrientationEvent.alpha
on GitHub
Flaw count: 5

  • 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 /en-US/docs/Web/Guide/Events/Orientation_and_motion_data_explained
    • Can't resolve /en-US/docs/Web/API/Detecting_device_orientation
    • Can't resolve /en-US/docs/Web/Guide/Events/Orientation_and_motion_data_explained

URL: /en-US/docs/Web/API/DeviceOrientationEvent/beta
Title: DeviceOrientationEvent.beta
on GitHub
Flaw count: 5

  • 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 /en-US/docs/Web/Guide/Events/Orientation_and_motion_data_explained
    • Can't resolve /en-US/docs/Web/API/Detecting_device_orientation
    • Can't resolve /en-US/docs/Web/Guide/Events/Orientation_and_motion_data_explained

URL: /en-US/docs/Web/API/DeviceOrientationEvent/absolute
Title: DeviceOrientationEvent.absolute
on GitHub
Flaw count: 5

  • 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 /en-US/docs/Web/Guide/Events/Orientation_and_motion_data_explained
    • Can't resolve /en-US/docs/Web/API/Detecting_device_orientation
    • Can't resolve /en-US/docs/Web/Guide/Events/Orientation_and_motion_data_explained

URL: /en-US/docs/Web/API/DeviceOrientationEvent/gamma
Title: DeviceOrientationEvent.gamma
on GitHub
Flaw count: 5

  • 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 /en-US/docs/Web/Guide/Events/Orientation_and_motion_data_explained
    • Can't resolve /en-US/docs/Web/API/Detecting_device_orientation
    • Can't resolve /en-US/docs/Web/Guide/Events/Orientation_and_motion_data_explained

URL: /en-US/docs/Web/API/Window
Title: Window
on GitHub
Flaw count: 36

  • macros:
    • wrong xref macro used (consider changing which macro you use)
    • /en-US/docs/Web/API/Window/messageManager does not exist
    • /en-US/docs/Mozilla/Tech/XPCOM/Reference/Interface/nsIDOMWindowUtils does not exist
    • /en-US/docs/Web/API/Window/performance redirects to /en-US/docs/Web/API/performance_property
    • /en-US/docs/Mozilla/Tech/XPCOM/Reference/Interface/nsIArray does not exist
    • and 24 more flaws omitted
  • broken_links:
    • Can't resolve /en-US/docs/The_message_manager
    • Can't resolve /en-US/docs/Mozilla/Tech/XUL/Attribute/onpagehide
    • Can't resolve /en-US/docs/Mozilla/Tech/XUL/Attribute/onpageshow
  • bad_bcd_links:
    • no explanation!
    • no explanation!
    • no explanation!
    • no explanation!

URL: /en-US/docs/Web/API/Window/deviceorientation_event
Title: Window: deviceorientation event
on GitHub
Flaw count: 1

  • broken_links:
    • Can't resolve /en-US/docs/Web/API/Window.devicemotion_event

URL: /en-US/docs/Web/API/Window/devicemotion_event
Title: Window: devicemotion event
on GitHub
Flaw count: 1

  • macros:
    • /en-US/docs/Web/API/Window/deviceorientation_event_event does not exist

URL: /en-US/docs/Web/API/GamepadEvent/gamepad
Title: GamepadEvent.gamepad
on GitHub
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: /en-US/docs/Web/API/HTMLFrameSetElement
Title: HTMLFrameSetElement
on GitHub
Flaw count: 9

  • macros:
    • wrong xref macro used (consider changing which macro you use)
    • wrong xref macro used (consider changing which macro you use)
    • /en-US/docs/Web/API/HTMLFrameSetElement/cols does not exist
    • /en-US/docs/Web/API/HTMLFrameSetElement/rows does not exist
    • /en-US/docs/Web/API/WindowEventHandlers/onoffline does not exist
    • and 4 more flaws omitted

URL: /en-US/docs/Web/API/WindowEventHandlers
Title: WindowEventHandlers
on GitHub
Flaw count: 6

  • macros:
    • wrong xref macro used (consider changing which macro you use)
    • wrong xref macro used (consider changing which macro you use)
    • /en-US/docs/Web/API/WindowEventHandlers/onoffline does not exist
    • /en-US/docs/Web/API/WindowEventHandlers/ononline does not exist
    • /en-US/docs/Web/API/WindowEventHandlers/onpagehide does not exist
    • and 1 more flaws omitted

URL: /en-US/docs/Web/API/WindowEventHandlers/onbeforeprint
Title: WindowEventHandlers.onbeforeprint
on GitHub
Flaw count: 1

  • broken_links:
    • Anchor not lowercase

URL: /en-US/docs/Web/API/WindowEventHandlers/onbeforeunload
Title: WindowEventHandlers.onbeforeunload
on GitHub
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: /en-US/docs/Web/API/WindowEventHandlers/onafterprint
Title: WindowEventHandlers.onafterprint
on GitHub
Flaw count: 1

  • broken_links:
    • Anchor not lowercase

URL: /en-US/docs/Web/API/CSS_Object_Model/Managing_screen_orientation
Title: Managing screen orientation
on GitHub
Flaw count: 5

  • broken_links:
    • Can't resolve /en-US/docs/Web/API/Detecting_device_orientation
    • Can't resolve /en-US/docs/Mozilla/Firefox_OS
    • Can't resolve /en-US/docs/Mozilla/Firefox_for_Android
    • Can't resolve /en-US/docs/Web/Apps/Build/Manifest#orientation
    • Is currently http:// but can become https://

URL: /en-US/docs/Web/API/WebVR_API/Using_VR_controllers_with_WebVR
Title: Using VR controllers with WebVR
on GitHub
Flaw count: 3

  • macros:
    • /en-US/docs/Web/API/VRCapabilities does not exist
    • /en-US/docs/Web/API/VRCapabilities/hasOrientation does not exist
    • /en-US/docs/Web/API/VRCapabilities/hasPosition does not exist

URL: /en-US/docs/Web/Events
Title: Event reference
on GitHub
Flaw count: 8

  • broken_links:
    • Can't resolve /en-US/docs/Web/API/IDBDatabase/abort_event
    • Can't resolve /en-US/docs/Web/API/IDBDatabase/error_event
    • Can't resolve /en-US/docs/Web/API/SVGElement/abort_event
    • Can't resolve /en-US/docs/Web/API/SVGElement/resize_event
    • Can't resolve /en-US/docs/Web/API/SVGElement/scroll_event
    • and 3 more flaws omitted

URL: /en-US/docs/Web/Events/Detecting_device_orientation
Title: Detecting device orientation
on GitHub
Flaw count: 1

  • broken_links:
    • Can't resolve /en-US/docs/Web/Events/MozOrientation

URL: /en-US/docs/Web/Events/Using_device_orientation_with_3D_transforms
Title: Using device orientation with 3D transforms
on GitHub
Flaw count: 4

  • broken_links:
    • Can't resolve /en-US/docs/Web/API/Window.deviceorientation_event
    • Can't resolve /en-US/docs/Web/CSS/transform-function/rotate3d()
    • Can't resolve /en-US/docs/Web/API/DOMMatrixReadOnly/rotate
    • Can't resolve /en-US/docs/Web/API/DOMMatrix/rotateSelf

External URLs

URL: /en-US/docs/Mozilla/Firefox/Releases/31
Title: Firefox 31 for developers
on GitHub

No new external URLs


URL: /en-US/docs/Mozilla/Firefox/Releases/62
Title: Firefox 62 for developers
on GitHub

No new external URLs


URL: /en-US/docs/Mozilla/Firefox/Releases/44
Title: Firefox 44 for developers
on GitHub

No new external URLs


URL: /en-US/docs/Mozilla/Firefox/Releases/91
Title: Firefox 91 for developers
on GitHub

No new external URLs


URL: /en-US/docs/Web/HTTP/Headers/Feature-Policy/gamepad
Title: Feature-Policy: gamepad
on GitHub

No new external URLs


URL: /en-US/docs/Web/API/Gamepad
Title: Gamepad
on GitHub

No new external URLs


URL: /en-US/docs/Web/API/HTMLBodyElement
Title: HTMLBodyElement
on GitHub

No new external URLs


URL: /en-US/docs/Web/API/DeviceOrientationEvent
Title: DeviceOrientationEvent
on GitHub

No new external URLs


URL: /en-US/docs/Web/API/DeviceOrientationEvent/alpha
Title: DeviceOrientationEvent.alpha
on GitHub

No new external URLs


URL: /en-US/docs/Web/API/DeviceOrientationEvent/beta
Title: DeviceOrientationEvent.beta
on GitHub

No new external URLs


URL: /en-US/docs/Web/API/DeviceOrientationEvent/absolute
Title: DeviceOrientationEvent.absolute
on GitHub

No new external URLs


URL: /en-US/docs/Web/API/DeviceOrientationEvent/gamma
Title: DeviceOrientationEvent.gamma
on GitHub

No new external URLs


URL: /en-US/docs/Web/API/Window
Title: Window
on GitHub

No new external URLs


URL: /en-US/docs/Web/API/Window/deviceorientation_event
Title: Window: deviceorientation event
on GitHub

No new external URLs


URL: /en-US/docs/Web/API/Window/deviceorientationabsolute_event
Title: Window: deviceorientationabsolute event
on GitHub

No new external URLs


URL: /en-US/docs/Web/API/Window/devicemotion_event
Title: Window: devicemotion event
on GitHub

No new external URLs


URL: /en-US/docs/Web/API/GamepadEvent/gamepad
Title: GamepadEvent.gamepad
on GitHub

No new external URLs


URL: /en-US/docs/Web/API/HTMLFrameSetElement
Title: HTMLFrameSetElement
on GitHub

No new external URLs


URL: /en-US/docs/Web/API/WindowEventHandlers
Title: WindowEventHandlers
on GitHub

No new external URLs


URL: /en-US/docs/Web/API/WindowEventHandlers/onbeforeprint
Title: WindowEventHandlers.onbeforeprint
on GitHub

No new external URLs


URL: /en-US/docs/Web/API/WindowEventHandlers/onbeforeunload
Title: WindowEventHandlers.onbeforeunload
on GitHub

No new external URLs


URL: /en-US/docs/Web/API/WindowEventHandlers/onafterprint
Title: WindowEventHandlers.onafterprint
on GitHub

No new external URLs


URL: /en-US/docs/Web/API/CSS_Object_Model/Managing_screen_orientation
Title: Managing screen orientation
on GitHub

No new external URLs


URL: /en-US/docs/Web/API/Gamepad_API/Using_the_Gamepad_API
Title: Using the Gamepad API
on GitHub

No new external URLs


URL: /en-US/docs/Web/API/WebVR_API/Using_the_WebVR_API
Title: Using the WebVR API
on GitHub

No new external URLs


URL: /en-US/docs/Web/API/WebVR_API/Using_VR_controllers_with_WebVR
Title: Using VR controllers with WebVR
on GitHub

No new external URLs


URL: /en-US/docs/Web/Events
Title: Event reference
on GitHub

No new external URLs


URL: /en-US/docs/Web/Events/Detecting_device_orientation
Title: Detecting device orientation
on GitHub

No new external URLs


URL: /en-US/docs/Web/Events/Using_device_orientation_with_3D_transforms
Title: Using device orientation with 3D transforms
on GitHub

No new external URLs

@sideshowbarker sideshowbarker merged commit 593f9ac into mdn:main Apr 2, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Content:HTTP HTTP docs Content:Other Any docs not covered by another "Content:" label Content:WebAPI Web API docs

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants