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

fix(ru): MacroLiveSampleError errors part-1 #16968

Merged
merged 46 commits into from
Nov 16, 2023

Conversation

leon-win
Copy link
Member

@leon-win leon-win commented Nov 14, 2023

Description

Fix MacroLiveSampleError errors on most pages in ru locale.

Motivation

If MacroLiveSampleError error is present on the page, it means that the example does not work and an empty window is displayed instead.

Additional details

This PR contains many changes but they are trivial. So it can be reviewed not only by members of the Russian team. Therefore, if anyone from the community has the opportunity to review and approve this contribution, then I ask you to do so 🙏

Related issues and pull requests

Part of: #12578 (fix this issue for ru locale)
Relates to #16926, #16931, #16934, #16959, #16964

@leon-win leon-win requested a review from a team as a code owner November 14, 2023 16:46
@leon-win leon-win requested review from myshov and removed request for a team November 14, 2023 16:46
@github-actions github-actions bot added the l10n-ru Issues related to Russian content. label Nov 14, 2023
Copy link
Contributor

github-actions bot commented Nov 14, 2023

Preview URLs (25 pages)
Flaws (348)

URL: /ru/docs/Web/SVG/Attribute/d
Title: d
Flaw count: 11

  • macros:
    • /ru/docs/Web/SVG/Element/glyph does not exist but fell back to /en-US/docs/Web/SVG/Element/glyph
    • /ru/docs/Web/SVG/Element/missing-glyph does not exist but fell back to /en-US/docs/Web/SVG/Element/missing-glyph
    • /ru/docs/Web/SVG/Element/glyph does not exist but fell back to /en-US/docs/Web/SVG/Element/glyph
    • /ru/docs/Web/SVG/Element/glyph does not exist but fell back to /en-US/docs/Web/SVG/Element/glyph
    • /ru/docs/Web/SVG/Element/glyph does not exist but fell back to /en-US/docs/Web/SVG/Element/glyph
    • and 2 more flaws omitted
  • broken_links:
    • Can't resolve /docs/Web/SVG/Content_type#String
    • Can't resolve /docs/Web/SVG/Content_type#String
    • Can't resolve /docs/Web/SVG/Content_type#String
  • translation_differences:
    • Differences in the important macros (7 in common of 13 possible)

URL: /ru/docs/Web/SVG/Attribute/id
Title: id
Flaw count: 1

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

URL: /ru/docs/Web/SVG/Attribute/width
Title: Ширина
Flaw count: 86

  • macros:
    • /ru/docs/Web/SVG/Element/feColorMatrix does not exist but fell back to /en-US/docs/Web/SVG/Element/feColorMatrix
    • /ru/docs/Web/SVG/Element/feComponentTransfer does not exist but fell back to /en-US/docs/Web/SVG/Element/feComponentTransfer
    • /ru/docs/Web/SVG/Element/feComposite does not exist but fell back to /en-US/docs/Web/SVG/Element/feComposite
    • /ru/docs/Web/SVG/Element/feConvolveMatrix does not exist but fell back to /en-US/docs/Web/SVG/Element/feConvolveMatrix
    • /ru/docs/Web/SVG/Element/feDiffuseLighting does not exist but fell back to /en-US/docs/Web/SVG/Element/feDiffuseLighting
    • and 31 more flaws omitted
  • broken_links:
    • Can't resolve /docs/Web/SVG/Content_type#Length
    • Can't resolve /docs/Web/SVG/Content_type#Percentage
    • Can't resolve /docs/Web/SVG/Content_type#Length
    • Can't resolve /docs/Web/SVG/Content_type#Percentage
    • Can't resolve /docs/Web/SVG/Content_type#Length
    • and 44 more flaws omitted
  • translation_differences:
    • Differences in the important macros (2 in common of 4 possible)

URL: /ru/docs/Web/SVG/Attribute/r
Title: r
Flaw count: 6

  • macros:
    • /ru/docs/Web/SVG/Element/stop does not exist but fell back to /en-US/docs/Web/SVG/Element/stop
  • broken_links:
    • Can't resolve /docs/Web/SVG/Content_type#Length
    • Can't resolve /docs/Web/SVG/Content_type#Percentage
    • Can't resolve /docs/Web/SVG/Content_type#Length
    • Can't resolve /docs/Web/SVG/Content_type#Percentage
  • translation_differences:
    • Differences in the important macros (2 in common of 4 possible)

URL: /ru/docs/Web/SVG/Attribute/attributeName
Title: attributeName
Flaw count: 4

  • macros:
    • /ru/docs/Web/SVG/Element/animateColor does not exist but fell back to /en-US/docs/Web/SVG/Element/animate
    • /ru/docs/Web/SVG/Element/animateTransform does not exist but fell back to /en-US/docs/Web/SVG/Element/animateTransform
    • /ru/docs/Web/SVG/Element/set does not exist but fell back to /en-US/docs/Web/SVG/Element/set
  • translation_differences:
    • Differences in the important macros (2 in common of 4 possible)

URL: /ru/docs/Web/SVG/Attribute/rx
Title: rx
Flaw count: 5

  • broken_links:
    • Can't resolve /docs/Web/SVG/Content_type#Length
    • Can't resolve /docs/Web/SVG/Content_type#Percentage
    • Can't resolve /docs/Web/SVG/Content_type#Length
    • Can't resolve /docs/Web/SVG/Content_type#Percentage
  • translation_differences:
    • Differences in the important macros (2 in common of 4 possible)

URL: /ru/docs/Web/SVG/Attribute/dur
Title: dur
Flaw count: 5

  • macros:
    • /ru/docs/Web/SVG/Element/animateColor does not exist but fell back to /en-US/docs/Web/SVG/Element/animate
    • /ru/docs/Web/SVG/Element/animateTransform does not exist but fell back to /en-US/docs/Web/SVG/Element/animateTransform
    • /ru/docs/Web/SVG/Element/set does not exist but fell back to /en-US/docs/Web/SVG/Element/set
    • /ru/docs/Web/SVG/Element/set does not exist but fell back to /en-US/docs/Web/SVG/Element/set
  • translation_differences:
    • Differences in the important macros (3 in common of 5 possible)

URL: /ru/docs/Web/SVG/Attribute/ry
Title: ry
Flaw count: 5

  • broken_links:
    • Can't resolve /docs/Web/SVG/Content_type#Length
    • Can't resolve /docs/Web/SVG/Content_type#Percentage
    • Can't resolve /docs/Web/SVG/Content_type#Length
    • Can't resolve /docs/Web/SVG/Content_type#Percentage
  • translation_differences:
    • Differences in the important macros (2 in common of 4 possible)

URL: /ru/docs/Web/SVG/Attribute/stroke-linecap
Title: stroke-linecap
Flaw count: 6

  • macros:
    • /ru/docs/Web/SVG/Element/altGlyph does not exist
    • /ru/docs/Web/SVG/Element/polyline does not exist but fell back to /en-US/docs/Web/SVG/Element/polyline
    • /ru/docs/Web/SVG/Element/textPath does not exist but fell back to /en-US/docs/Web/SVG/Element/textPath
    • /ru/docs/Web/SVG/Element/tref does not exist but fell back to /en-US/docs/Web/SVG/Element/tref
    • /ru/docs/Web/SVG/Element/tspan does not exist but fell back to /en-US/docs/Web/SVG/Element/tspan
  • translation_differences:
    • Differences in the important macros (6 in common of 8 possible)

URL: /ru/docs/Web/SVG/Attribute/viewBox
Title: viewBox
Flaw count: 27

  • macros:
    • /ru/docs/Web/SVG/Element/marker does not exist but fell back to /en-US/docs/Web/SVG/Element/marker
    • /ru/docs/Web/SVG/Element/symbol does not exist but fell back to /en-US/docs/Web/SVG/Element/symbol
    • /ru/docs/Web/SVG/Element/view does not exist but fell back to /en-US/docs/Web/SVG/Element/view
    • /ru/docs/Web/SVG/Element/marker does not exist but fell back to /en-US/docs/Web/SVG/Element/marker
    • /ru/docs/Web/SVG/Element/symbol does not exist but fell back to /en-US/docs/Web/SVG/Element/symbol
    • and 1 more flaws omitted
  • broken_links:
    • Can't resolve /docs/Web/SVG/Content_type#Number
    • Can't resolve /docs/Web/SVG/Content_type#Number
    • Can't resolve /docs/Web/SVG/Content_type#Number
    • Can't resolve /docs/Web/SVG/Content_type#Number
    • Can't resolve /docs/Web/SVG/Content_type#Number
    • and 15 more flaws omitted
  • translation_differences:
    • Differences in the important macros (1 in common of 4 possible)

URL: /ru/docs/Web/SVG/Attribute/stroke-dashoffset
Title: stroke-dashoffset
Flaw count: 9

  • macros:
    • /ru/docs/Web/SVG/Element/altGlyph does not exist
    • /ru/docs/Web/SVG/Element/polyline does not exist but fell back to /en-US/docs/Web/SVG/Element/polyline
    • /ru/docs/Web/SVG/Element/textPath does not exist but fell back to /en-US/docs/Web/SVG/Element/textPath
    • /ru/docs/Web/SVG/Element/tref does not exist but fell back to /en-US/docs/Web/SVG/Element/tref
    • /ru/docs/Web/SVG/Element/tspan does not exist but fell back to /en-US/docs/Web/SVG/Element/tspan
  • 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
  • translation_differences:
    • Differences in the important macros (1 in common of 5 possible)

URL: /ru/docs/Web/SVG/Element/foreignObject
Title: <foreignObject>
Flaw count: 16

  • broken_links:
    • Can't resolve /docs/Web/SVG/Content_type#Length
    • Can't resolve /docs/Web/SVG/Content_type#Percentage
    • Can't resolve /docs/Web/SVG/Content_type#Length
    • Can't resolve /docs/Web/SVG/Content_type#Percentage
    • Can't resolve /docs/Web/SVG/Content_type#Length
    • and 10 more flaws omitted
  • translation_differences:
    • Differences in the important macros (3 in common of 5 possible)

URL: /ru/docs/Web/SVG/Element/polygon
Title: <polygon>
Flaw count: 10

  • macros:
    • /ru/docs/Web/SVG/Element/polyline does not exist but fell back to /en-US/docs/Web/SVG/Element/polyline
    • /ru/docs/Web/SVG/Element/polyline does not exist but fell back to /en-US/docs/Web/SVG/Element/polyline
  • broken_links:
    • Can't resolve /docs/Web/SVG/Content_type#Number
    • Can't resolve /docs/Web/SVG/Content_type#Number
    • Can't resolve /docs/Web/SVG/Attribute/Styling
    • Can't resolve /docs/Web/SVG/Attribute/Conditional_Processing
    • Can't resolve /docs/Web/SVG/Attribute/Events#Global_Event_Attributes
    • and 2 more flaws omitted
  • translation_differences:
    • Differences in the important macros (3 in common of 5 possible)

URL: /ru/docs/Web/SVG/Element/use
Title: <use>
Flaw count: 12

  • broken_links:
    • Can't resolve /docs/Web/SVG/Content_type#URL
    • Can't resolve /docs/Web/SVG/Content_type#IRI
    • Can't resolve /docs/Web/SVG/Content_type#Coordinate
    • Can't resolve /docs/Web/SVG/Content_type#Coordinate
    • Can't resolve /docs/Web/SVG/Content_type#Length
    • and 6 more flaws omitted
  • translation_differences:
    • Differences in the important macros (3 in common of 5 possible)

URL: /ru/docs/Web/SVG/Element/linearGradient
Title: <linearGradient>
Flaw count: 17

  • macros:
    • /ru/docs/Web/CSS/linear-gradient() does not exist but fell back to /en-US/docs/Web/CSS/gradient/linear-gradient
    • /ru/docs/Web/SVG/Element/animateTransform does not exist but fell back to /en-US/docs/Web/SVG/Element/animateTransform
    • /ru/docs/Web/SVG/Element/set does not exist but fell back to /en-US/docs/Web/SVG/Element/set
    • /ru/docs/Web/SVG/Element/stop does not exist but fell back to /en-US/docs/Web/SVG/Element/stop
  • 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 7 more flaws omitted
  • translation_differences:
    • Differences in the important macros (3 in common of 5 possible)

URL: /ru/docs/Web/SVG/Element/a
Title: a
Flaw count: 24

  • macros:
    • /ru/docs/Web/SVG/Element/clipPath does not exist but fell back to /en-US/docs/Web/SVG/Element/clipPath
    • /ru/docs/Web/SVG/Element/color-profile does not exist
    • /ru/docs/Web/SVG/Element/cursor does not exist but fell back to /en-US/docs/Web/SVG/Element/cursor
    • /ru/docs/Web/SVG/Element/filter does not exist but fell back to /en-US/docs/Web/SVG/Element/filter
    • /ru/docs/Web/SVG/Element/font does not exist but fell back to /en-US/docs/Web/SVG/Element/font
    • and 7 more flaws omitted
  • broken_links:
    • Can't resolve /docs/Web/SVG/Content_type#URL
    • Can't resolve /docs/Web/SVG/Content_type#List-of-Ts
    • Can't resolve /docs/Web/HTML/Link_types
    • Can't resolve /docs/Web/SVG/Content_type#URL
    • Can't resolve /docs/Web/SVG/Attribute/Styling
    • and 6 more flaws omitted
  • translation_differences:
    • Differences in the important macros (3 in common of 5 possible)

URL: /ru/docs/Web/SVG/Element/path
Title: <path>
Flaw count: 8

  • macros:
    • /ru/docs/Web/SVG/Element/polyline does not exist but fell back to /en-US/docs/Web/SVG/Element/polyline
  • broken_links:
    • Can't resolve /docs/Web/SVG/Content_type#Number
    • Can't resolve /docs/Web/SVG/Attribute/Styling
    • Can't resolve /docs/Web/SVG/Attribute/Conditional_Processing
    • Can't resolve /docs/Web/SVG/Attribute/Events#Global_Event_Attributes
    • Can't resolve /docs/Web/SVG/Attribute/Events#Graphical_Event_Attributes
    • and 1 more flaws omitted
  • translation_differences:
    • Differences in the important macros (3 in common of 5 possible)

URL: /ru/docs/Web/SVG/Element/line
Title: <line>
Flaw count: 19

  • broken_links:
    • Can't resolve /docs/Web/SVG/Content_type#Length
    • Can't resolve /docs/Web/SVG/Content_type#Percentage
    • Can't resolve /docs/Web/SVG/Content_type#Number
    • Can't resolve /docs/Web/SVG/Content_type#Length
    • Can't resolve /docs/Web/SVG/Content_type#Percentage
    • and 13 more flaws omitted
  • translation_differences:
    • Differences in the important macros (3 in common of 5 possible)

URL: /ru/docs/Web/SVG/Element/ellipse
Title: <ellipse>
Flaw count: 17

  • macros:
    • /ru/docs/Web/API/SVGEllipseElement does not exist but fell back to /en-US/docs/Web/API/SVGEllipseElement
  • broken_links:
    • Can't resolve /docs/Web/SVG/Content_type#Length
    • Can't resolve /docs/Web/SVG/Content_type#Percentage
    • Can't resolve /docs/Web/SVG/Content_type#Length
    • Can't resolve /docs/Web/SVG/Content_type#Percentage
    • Can't resolve /docs/Web/SVG/Content_type#Length
    • and 10 more flaws omitted
  • translation_differences:
    • Differences in the important macros (3 in common of 5 possible)

URL: /ru/docs/Web/SVG/Element/pattern
Title: <pattern>
Flaw count: 28

  • macros:
    • /ru/docs/Web/SVG/Element/clipPath does not exist but fell back to /en-US/docs/Web/SVG/Element/clipPath
    • /ru/docs/Web/SVG/Element/color-profile does not exist
    • /ru/docs/Web/SVG/Element/cursor does not exist but fell back to /en-US/docs/Web/SVG/Element/cursor
    • /ru/docs/Web/SVG/Element/filter does not exist but fell back to /en-US/docs/Web/SVG/Element/filter
    • /ru/docs/Web/SVG/Element/font does not exist but fell back to /en-US/docs/Web/SVG/Element/font
    • and 7 more flaws omitted
  • broken_links:
    • Can't resolve /docs/Web/SVG/Content_type#Length
    • Can't resolve /docs/Web/SVG/Content_type#Percentage
    • Can't resolve /docs/Web/SVG/Content_type#URL
    • Can't resolve /docs/Web/SVG/Content_type#Transform-list
    • Can't resolve /docs/Web/SVG/Content_type#List-of-Ts
    • and 10 more flaws omitted
  • translation_differences:
    • Differences in the important macros (3 in common of 5 possible)

URL: /ru/docs/Web/CSS/mix-blend-mode
Title: mix-blend-mode
Flaw count: 3

  • macros:
    • /ru/docs/Web/CSS/blend-mode does not exist but fell back to /en-US/docs/Web/CSS/blend-mode
    • /ru/docs/Web/CSS/blend-mode does not exist but fell back to /en-US/docs/Web/CSS/blend-mode
  • translation_differences:
    • Differences in the important macros (5 in common of 12 possible)

URL: /ru/docs/Web/API/MediaStream_Recording_API/Recording_a_media_element
Title: Запись медиа элемента
Flaw count: 10

  • macros:
    • /ru/docs/Web/API/Window/setTimeout does not exist but fell back to /en-US/docs/Web/API/setTimeout
    • /ru/docs/Web/API/MediaRecorder/onstop does not exist but fell back to /en-US/docs/Web/API/MediaRecorder/stop_event
    • /ru/docs/Web/API/MediaRecorder/onerror does not exist but fell back to /en-US/docs/Web/API/MediaRecorder/error_event
    • /ru/docs/Web/API/MediaStream/getTracks does not exist but fell back to /en-US/docs/Web/API/MediaStream/getTracks
    • /ru/docs/Web/API/MediaStreamTrack/stop does not exist but fell back to /en-US/docs/Web/API/MediaStreamTrack/stop
    • and 3 more flaws omitted
  • broken_links:
    • Can use the English (en-US) link as a fallback
  • translation_differences:
    • Differences in the important macros (1 in common of 3 possible)

URL: /ru/docs/Web/API/Canvas_API/Tutorial/Compositing
Title: Композиция и обрезка
Flaw count: 4

  • macros:
    • /ru/docs/Web/API/CanvasRenderingContext2D/globalCompositeOperation does not exist but fell back to /en-US/docs/Web/API/CanvasRenderingContext2D/globalCompositeOperation
    • /ru/docs/Web/API/CanvasRenderingContext2D/clip does not exist but fell back to /en-US/docs/Web/API/CanvasRenderingContext2D/clip
  • broken_links:
    • Can use the English (en-US) link as a fallback
  • translation_differences:
    • Differences in the important macros (1 in common of 3 possible)

URL: /ru/docs/Web/API/Intersection_Observer_API/Timing_element_visibility
Title: Синхронизация видимости элемента с Intersection Observer API
Flaw count: 12

  • macros:
    • /ru/docs/Web/CSS/grid-row does not exist but fell back to /en-US/docs/Web/CSS/grid-row
    • /ru/docs/Web/CSS/grid-row does not exist but fell back to /en-US/docs/Web/CSS/grid-row
    • /ru/docs/Web/API/IntersectionObserverEntry does not exist but fell back to /en-US/docs/Web/API/IntersectionObserverEntry
    • /ru/docs/Web/API/IntersectionObserverEntry/time does not exist but fell back to /en-US/docs/Web/API/IntersectionObserverEntry/time
    • /ru/docs/Web/API/IntersectionObserverEntry/intersectionRatio does not exist but fell back to /en-US/docs/Web/API/IntersectionObserverEntry/intersectionRatio
    • and 6 more flaws omitted
  • translation_differences:
    • Differences in the important macros (1 in common of 3 possible)

URL: /ru/docs/Glossary/Grid
Title: Grid
Flaw count: 3

  • macros:
    • /ru/docs/Glossary/grid_tracks does not exist but fell back to /en-US/docs/Glossary/Grid_Tracks
    • /ru/docs/Glossary/grid_item does not exist
  • translation_differences:
    • Differences in the important macros (0 in common of 2 possible)
External URLs (1)

URL: /ru/docs/Web/SVG/Attribute/stroke-dashoffset
Title: stroke-dashoffset

(comment last updated: 2023-11-16 07:42:17)

leon-win and others added 3 commits November 14, 2023 19:51
Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
…hoffset/index.md

Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
@github-actions github-actions bot added the merge conflicts 🚧 This pull request has merge conflicts that must be resolved. label Nov 16, 2023
Copy link
Contributor

This pull request has merge conflicts that must be resolved before it can be merged.

@sashasushko sashasushko changed the title [ru] fix MacroLiveSampleError errors fix(ru): MacroLiveSampleError errors part-1 Nov 16, 2023
@github-actions github-actions bot removed the merge conflicts 🚧 This pull request has merge conflicts that must be resolved. label Nov 16, 2023
@sashasushko sashasushko merged commit 2ada93d into mdn:main Nov 16, 2023
7 checks passed
@leon-win leon-win deleted the fix/12578/macro-live-sample-error branch November 16, 2023 07:58
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
l10n-ru Issues related to Russian content.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants