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

fr: Removes HTMLAttrDef macros #13620

Merged
merged 2 commits into from
Jun 10, 2023
Merged

Conversation

Lou8is
Copy link
Contributor

@Lou8is Lou8is commented Jun 7, 2023

Description

Removes all HTMLAttrDef macros following advice on https://github.com/orgs/mdn/discussions/347

Transforms {{HTMLAttrDef("abc")}} to `abc`

Motivation

Helping the FR translation removing those deprecated macros :)

Additional details

Related issues and pull requests

Relates to #5603

Similar to PR #13613

@Lou8is Lou8is requested a review from a team as a code owner June 7, 2023 20:16
@Lou8is Lou8is requested review from SphinxKnight and removed request for a team June 7, 2023 20:16
@github-actions github-actions bot added the l10n-fr Issues related to French content. label Jun 7, 2023
@github-actions
Copy link
Contributor

github-actions bot commented Jun 7, 2023

Preview URLs (35 pages)
Flaws (263)

URL: /fr/docs/Web/HTML/Element/output
Title: <output> : l'élément de sortie
Flaw count: 5

  • macros:
    • /fr/docs/Web/API/HTMLOutputElement does not exist but fell back to /en-US/docs/Web/API/HTMLOutputElement
    • /fr/docs/Web/HTML/Element/keygen does not exist
  • broken_links:
    • Can't resolve /fr/docs/Web/HTML/Attributs_universels
    • Can't resolve /fr/docs/Web/HTML/Attributs_universels/id
  • translation_differences:
    • Differences in the important macros (3 in common of 5 possible)

URL: /fr/docs/Web/HTML/Element/select
Title: <select>
Flaw count: 11

  • macros:
    • /fr/docs/Web/HTML/Element/keygen does not exist
  • broken_links:
    • Can't resolve /fr/docs/Web/Guide/HTML/Formulaires/Les_blocs_de_formulaires_natifs#Contenu_déroulant
    • Can't resolve /fr/docs/Web/HTML/Attributs_universels
    • Can't resolve /fr/docs/Web/HTML/Attributs/autocomplete
    • Can't resolve /fr/docs/Apprendre/CSS/Introduction_à_CSS/Le_modèle_de_boîte
    • Can't resolve /fr/docs/Web/CSS/CSS_Fonts
    • and 4 more flaws omitted
  • translation_differences:
    • Differences in the important macros (4 in common of 8 possible)

URL: /fr/docs/Web/HTML/Element/progress
Title: <progress> : l'élément d'indicateur de progression
Flaw count: 4

  • macros:
    • /fr/docs/Web/API/HTMLProgressElement does not exist but fell back to /en-US/docs/Web/API/HTMLProgressElement
    • /fr/docs/Web/CSS/::-ms-fill does not exist
  • broken_links:
    • Can't resolve /fr/docs/Web/HTML/Attributs_universels
  • translation_differences:
    • Differences in the important macros (4 in common of 8 possible)

URL: /fr/docs/Web/HTML/Element/meta
Title: <meta> : l'élément de métadonnées du document
Flaw count: 32

  • macros:
    • /fr/docs/Web/API/HTMLMetaElement does not exist but fell back to /en-US/docs/Web/API/HTMLMetaElement
  • broken_links:
    • Can't resolve /fr/docs/Web/HTML/Attributs_universels
    • No need for the pathname in anchor links if it's the same page
    • No need for the pathname in anchor links if it's the same page
    • No need for the pathname in anchor links if it's the same page
    • No need for the pathname in anchor links if it's the same page
    • and 26 more flaws omitted

URL: /fr/docs/Web/HTML/Element/q
Title: <q> : l'élément de citation en incise
Flaw count: 2

  • broken_links:
    • Can't resolve /fr/docs/Web/HTML/Attributs_universels
  • translation_differences:
    • Differences in the important macros (4 in common of 6 possible)

URL: /fr/docs/Web/HTML/Element/param
Title: <param> : l'élément paramètre d'un objet
Flaw count: 2

  • macros:
    • /fr/docs/Web/API/HTMLParamElement does not exist but fell back to /en-US/docs/Web/API/HTMLParamElement
  • broken_links:
    • Can't resolve /fr/docs/Web/HTML/Attributs_universels

URL: /fr/docs/Web/HTML/Element/tbody
Title: <tbody> : l'élément de corps d'un tableau
Flaw count: 1

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

URL: /fr/docs/Web/HTML/Element/ins
Title: <ins>
Flaw count: 7

  • macros:
    • /fr/docs/Web/API/HTMLModElement does not exist but fell back to /en-US/docs/Web/API/HTMLModElement
  • broken_links:
    • Can't resolve /fr/docs/Web/HTML/Attributs_universels
    • Can't resolve /fr/docs/Web/HTML/Formats_date_heure_HTML
    • Can't resolve /fr/docs/Web/HTML/Formats_date_heure_HTML#Représentation_des_dates
    • Can't resolve /fr/docs/Web/HTML/Formats_date_heure_HTML#Représentation_des_dates_et_heures_locales
    • Is currently http:// but can become https://
  • translation_differences:
    • Differences in the important macros (4 in common of 6 possible)

URL: /fr/docs/Web/HTML/Element/label
Title: <label>
Flaw count: 6

  • macros:
    • /fr/docs/Web/API/HTMLLabelElement/control does not exist but fell back to /en-US/docs/Web/API/HTMLLabelElement/control
    • /fr/docs/Web/API/HTMLLabelElement does not exist but fell back to /en-US/docs/Web/API/HTMLLabelElement
    • /fr/docs/Web/HTML/Element/keygen does not exist
  • broken_links:
    • Can't resolve /fr/docs/Web/HTML/Attributs_universels
    • Anchor not lowercase
  • translation_differences:
    • Differences in the important macros (4 in common of 8 possible)

URL: /fr/docs/Web/HTML/Element/time
Title: <time>
Flaw count: 2

  • broken_links:
    • Can't resolve /fr/docs/Web/HTML/Attributs_universels
  • translation_differences:
    • Differences in the important macros (4 in common of 8 possible)

URL: /fr/docs/Web/HTML/Element/input/radio
Title: <input type="radio">
Flaw count: 6

  • macros:
    • wrong xref macro used (consider changing which macro you use)
    • /fr/docs/Web/CSS/-moz-appearance redirects to /fr/docs/Web/CSS/appearance
    • wrong xref macro used (consider changing which macro you use)
    • /fr/docs/Web/API/HTMLInputElement/select does not exist but fell back to /en-US/docs/Web/API/HTMLInputElement/select
    • /fr/docs/Web/API/RadioNodeList does not exist but fell back to /en-US/docs/Web/API/RadioNodeList
  • translation_differences:
    • Differences in the important macros (4 in common of 12 possible)

URL: /fr/docs/Web/HTML/Element/input/file
Title: <input type="file">
Flaw count: 15

  • macros:
    • wrong xref macro used (consider changing which macro you use)
    • /fr/docs/Web/API/HTMLInputElement/webkitdirectory does not exist but fell back to /en-US/docs/Web/API/HTMLInputElement/webkitdirectory
    • /fr/docs/Web/API/Date does not exist
    • wrong xref macro used (consider changing which macro you use)
    • wrong xref macro used (consider changing which macro you use)
    • and 1 more flaws omitted
  • broken_links:
    • Can't resolve /fr/docs/Web/Guide/HTML/Formulaires
    • Can't resolve /fr/docs/Using_files_from_web_applications
    • Can't resolve /fr/docs/Using_files_from_web_applications#getting_information_about_selected_files
    • No need for the pathname in anchor links if it's the same page
    • Can't resolve /fr/docs/Glossaire/Type_MIME
    • and 3 more flaws omitted
  • translation_differences:
    • Differences in the important macros (4 in common of 10 possible)

URL: /fr/docs/Web/HTML/Element/input/submit
Title: <input type="submit">
Flaw count: 9

  • 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 /fr/docs/Web/Guide/HTML/Formulaires/Envoyer_et_extraire_les_données_des_formulaires
    • Can't resolve /fr/docs/Web/HTML/Element/Input/button#Désactiver_et_activer_un_bouton
    • Can't resolve /fr/docs/Learn/HTML/Forms_and_buttons
    • Can't resolve /fr/docs/Web/Accessibility/ARIA/forms
    • and 1 more flaws omitted
  • translation_differences:
    • Differences in the important macros (3 in common of 11 possible)

URL: /fr/docs/Web/HTML/Element/input/checkbox
Title: <input type="checkbox">
Flaw count: 5

  • macros:
    • wrong xref macro used (consider changing which macro you use)
    • wrong xref macro used (consider changing which macro you use)
    • /fr/docs/Web/API/HTMLInputElement/select does not exist but fell back to /en-US/docs/Web/API/HTMLInputElement/select
    • /fr/docs/Web/CSS/indeterminate does not exist
  • translation_differences:
    • Differences in the important macros (5 in common of 12 possible)

URL: /fr/docs/Web/HTML/Element/input/hidden
Title: <input type="hidden">
Flaw count: 3

  • macros:
    • wrong xref macro used (consider changing which macro you use)
  • broken_links:
    • Can't resolve /fr/docs/Web/Guide/HTML/Formulaires
  • translation_differences:
    • Differences in the important macros (3 in common of 6 possible)

URL: /fr/docs/Web/HTML/Element/menuitem
Title: <menuitem>
Flaw count: 5

  • macros:
    • /fr/docs/Web/API/HTMLMenuItemElement does not exist but fell back to /en-US/docs/Web/API/HTMLMenuItemElement
    • `/home/runner/work/translated-content/translated-content/mdn/content/node_modules/@mdn/yari/kumascript/macros/Specifications.ejs:1

1| <%
2| /*
3| Placeholder to render a specification section with spec_urls from BCD
4|

No first query argument or 'browser-compat' or 'spec-urls' front-matter value passed`

  • `/home/runner/work/translated-content/translated-content/mdn/content/node_modules/@mdn/yari/kumascript/macros/Compat.ejs:1

1| <%
2| /*
3|
4| Retrieves MDN compat data for a given feature

No first query argument or 'browser-compat' front-matter value passed`

  • broken_links:
    • Can't resolve /fr/docs/Web/HTML/Attributs_universels
  • translation_differences:
    • Differences in the important macros (1 in common of 5 possible)

URL: /fr/docs/Web/HTML/Element/video
Title: <video>
Flaw count: 41

  • macros:
    • /fr/docs/Web/API/ScriptProcessorNode does not exist but fell back to /en-US/docs/Web/API/ScriptProcessorNode
    • /fr/docs/Web/API/OfflineAudioContext does not exist but fell back to /en-US/docs/Web/API/OfflineAudioContext
    • /fr/docs/Web/API/HTMLMediaElement/loadeddata_event does not exist but fell back to /en-US/docs/Web/API/HTMLMediaElement/loadeddata_event
    • /fr/docs/Web/API/HTMLMediaElement/loadedmetadata_event does not exist but fell back to /en-US/docs/Web/API/HTMLMediaElement/loadedmetadata_event
    • /fr/docs/Web/API/HTMLMediaElement/pause_event does not exist but fell back to /en-US/docs/Web/API/HTMLMediaElement/pause_event
    • and 16 more flaws omitted
  • broken_links:
    • Can't resolve /fr/docs/Web/HTML/Formats_pour_audio_video
    • Can use the English (en-US) link as a fallback
    • Can't resolve /fr/docs/Web/Guide/DOM/Events/evenement_medias
    • Can use the English (en-US) link as a fallback
    • Can't resolve /fr/docs/Apprendre/HTML/Multimedia_and_embedding/Contenu_audio_et_video
    • and 14 more flaws omitted
  • translation_differences:
    • Differences in the important macros (4 in common of 6 possible)

URL: /fr/docs/Web/HTML/Element/style
Title: <style> : l'élément d'information de style
Flaw count: 6

  • broken_links:
    • Can't resolve /fr/docs/Web/CSS/Requêtes_média
    • Can't resolve /fr/docs/Web/HTML/Attributs_universels
    • Can't resolve /fr/docs/Web/CSS/Requêtes_média/Utiliser_les_Media_queries
    • Can't resolve /fr/docs/Web/CSS/Feuilles_de_style_alternatives
    • Can't resolve /fr/docs/Apprendre/CSS/Introduction_à_CSS/La_cascade_et_l_héritage#Spécificité
  • translation_differences:
    • Differences in the important macros (4 in common of 10 possible)

URL: /fr/docs/Web/HTML/Element/meter
Title: <meter>
Flaw count: 3

  • macros:
    • /fr/docs/Web/API/HTMLMeterElement does not exist but fell back to /en-US/docs/Web/API/HTMLMeterElement
  • broken_links:
    • Can't resolve /fr/docs/Web/HTML/Attributs_universels
  • translation_differences:
    • Differences in the important macros (4 in common of 8 possible)

URL: /fr/docs/Web/HTML/Element/link
Title: <link> : l'élément de lien vers des ressources externes
Flaw count: 23

  • macros:
    • /fr/docs/Web/API/HTMLLinkElement does not exist but fell back to /en-US/docs/Web/API/HTMLLinkElement
  • broken_links:
    • Can't resolve /fr/docs/Glossaire/CSS
    • Can't resolve /fr/docs/Web/HTML/Types_de_lien
    • Can't resolve /fr/docs/Web/HTML/Précharger_du_contenu
    • Can't resolve /fr/docs/Web/HTML/Attributs_universels
    • Can't resolve /fr/docs/HTTP/CSP
    • and 16 more flaws omitted
  • translation_differences:
    • Differences in the important macros (3 in common of 5 possible)

URL: /fr/docs/Web/HTML/Element/ul
Title: <ul>
Flaw count: 5

  • macros:
    • /fr/docs/Web/API/HTMLUListElement does not exist but fell back to /en-US/docs/Web/API/HTMLUListElement
  • broken_links:
    • Can't resolve /fr/docs/Web/HTML/Attributs_universels
    • Can't resolve /fr/docs/Web/CSS/Compteurs_CSS
    • No need for the pathname in anchor links if it's the same page
  • translation_differences:
    • Differences in the important macros (4 in common of 10 possible)

URL: /fr/docs/Web/HTML/Element/table
Title: <table> : l'élément de tableau
Flaw count: 8

  • broken_links:
    • Can't resolve /fr/docs/Web/HTML/Attributs_universels
    • Can't resolve /fr/docs/CSS
    • Can't resolve /fr/docs/CSS
    • No need for the pathname in anchor links if it's the same page
    • Can't resolve /fr/Apprendre/HTML/Tableaux/Advanced
    • and 2 more flaws omitted
  • translation_differences:
    • Differences in the important macros (4 in common of 14 possible)

URL: /fr/docs/Web/HTML/Element/textarea
Title: <textarea>
Flaw count: 6

  • macros:
    • /fr/docs/Web/API/HTMLTextAreaElement does not exist but fell back to /en-US/docs/Web/API/HTMLTextAreaElement
    • /fr/docs/Web/HTML/Element/keygen does not exist
  • broken_links:
    • Can't resolve /fr/docs/Web/HTML/Attributs_universels
    • Can't resolve /fr/docs/Web/CSS/Élément_remplacé
    • Can't resolve /fr/docs/Web/Guide/HTML/Formulaires/Apparence_des_formulaires_HTML
  • translation_differences:
    • Differences in the important macros (4 in common of 10 possible)

URL: /fr/docs/Web/HTML/Element/map
Title: <map>
Flaw count: 3

  • macros:
    • /fr/docs/Web/API/HTMLMapElement does not exist but fell back to /en-US/docs/Web/API/HTMLMapElement
  • broken_links:
    • Can't resolve /fr/docs/Web/HTML/Attributs_universels
  • translation_differences:
    • Differences in the important macros (4 in common of 6 possible)

URL: /fr/docs/Web/HTML/Element/head
Title: <head> : l'élément de métadonnées (en-tête) du document
Flaw count: 2

  • macros:
    • /fr/docs/Web/API/HTMLHeadElement does not exist but fell back to /en-US/docs/Web/API/HTMLHeadElement
  • broken_links:
    • Can't resolve /fr/docs/Web/HTML/Attributs_universels

URL: /fr/docs/Web/HTML/Element/optgroup
Title: <optgroup>
Flaw count: 4

  • macros:
    • /fr/docs/Web/API/HTMLOptGroupElement does not exist but fell back to /en-US/docs/Web/API/HTMLOptGroupElement
    • /fr/docs/Web/HTML/Element/keygen does not exist
  • broken_links:
    • Can't resolve /fr/docs/Web/HTML/Attributs_universels
  • translation_differences:
    • Differences in the important macros (4 in common of 6 possible)

URL: /fr/docs/Web/HTML/Element/li
Title: <li>
Flaw count: 4

  • macros:
    • /fr/docs/Web/API/HTMLLIElement does not exist but fell back to /en-US/docs/Web/API/HTMLLIElement
  • broken_links:
    • Can't resolve /fr/docs/Web/HTML/Attributs_universels
    • Can't resolve /fr/docs/Web/CSS/Compteurs_CSS
  • translation_differences:
    • Differences in the important macros (4 in common of 10 possible)

URL: /fr/docs/Web/HTML/Element/hr
Title: <hr> : l'élément de rupture thématique (règle horizontale)
Flaw count: 3

  • macros:
    • /fr/docs/Web/API/HTMLHRElement does not exist but fell back to /en-US/docs/Web/API/HTMLHRElement
  • broken_links:
    • Can't resolve /fr/docs/Web/HTML/Attributs_universels
  • translation_differences:
    • Differences in the important macros (4 in common of 6 possible)

URL: /fr/docs/Web/HTML/Element/marquee
Title: <marquee> : l'élément de fronton (obsolète)
Flaw count: 3

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

URL: /fr/docs/Web/HTML/Element/option
Title: <option>
Flaw count: 3

  • macros:
    • /fr/docs/Web/HTML/Element/keygen does not exist
  • broken_links:
    • Can't resolve /fr/docs/Web/HTML/Attributs_universels
  • translation_differences:
    • Differences in the important macros (4 in common of 5 possible)

URL: /fr/docs/Web/HTML/Element/script
Title: <script> : l'élément de script
Flaw count: 11

  • macros:
    • /fr/docs/Web/API/GlobalEventHandlers/onerror redirects to /fr/docs/Web/API/Window/error_event
    • /fr/docs/Web/API/HTMLScriptElement does not exist but fell back to /en-US/docs/Web/API/HTMLScriptElement
  • broken_links:
    • Can't resolve /fr/docs/Apprendre/WebGL
    • Can't resolve /fr/docs/Web/HTML/Attributs_universels
    • Can't resolve /fr/docs/HTTP/Access_control_CORS
    • Can't resolve /fr/docs/Web/HTML/Reglages_des_attributs_CORS
    • Can't resolve /fr/docs/Web/JavaScript/Same_origin_policy_for_JavaScript
    • and 4 more flaws omitted

URL: /fr/docs/Web/HTML/Element/source
Title: <source>
Flaw count: 7

  • macros:
    • /fr/docs/Web/API/HTMLSourceElement does not exist but fell back to /en-US/docs/Web/API/HTMLSourceElement
  • broken_links:
    • Can't resolve /fr/docs/Web/HTML/formats_media_support
    • Can't resolve /fr/docs/Web/HTML/Attributs_universels
    • Can't resolve /fr/docs/Web/CSS/Requêtes_média/Utiliser_les_Media_queries
    • No need for the pathname in anchor links if it's the same page
    • Can't resolve /fr/docs/Web/HTML/formats_media_support
    • and 1 more flaws omitted

URL: /fr/docs/Web/HTML/Element/html
Title: <html> : l'élément de racine du document HTML
Flaw count: 4

  • macros:
    • /fr/docs/Web/API/HTMLHtmlElement does not exist but fell back to /en-US/docs/Web/API/HTMLHtmlElement
  • broken_links:
    • Can't resolve /fr/docs/Web/HTML/Attributs_universels
    • Can't resolve /fr/docs/Utiliser_Application_Cache
    • Can't resolve /fr/docs/XHTML

URL: /fr/docs/Web/HTML/Element/slot
Title: <slot>
Flaw count: 3

  • broken_links:
    • Can't resolve /fr/docs/Web/Web_Components
    • Can't resolve /fr/docs/Web/HTML/Attributs_universels
    • Can't resolve /fr/docs/Web/Web_Components/Using_templates_and_slots

URL: /fr/docs/Web/HTML/Global_attributes
Title: Les attributs universels
Flaw count: 9

  • macros:
    • /fr/docs/Web/API/GlobalEventHandlers does not exist
  • broken_links:
    • Can't resolve /fr/docs/Accessibilité/ARIA
    • Can use the English (en-US) link as a fallback
    • Can't resolve /fr/docs/Web/CSS/Sélecteurs_de_classe
    • Can't resolve /fr/docs/Web/API/API_HTML_Drag_and_Drop
    • Can't resolve /fr/docs/Web/API/API_HTML_Drag_and_Drop
    • and 3 more flaws omitted

(comment last updated: 2023-06-10 07:54:42)

@github-actions github-actions bot added the merge conflicts 🚧 This pull request has merge conflicts that must be resolved. label Jun 8, 2023
@github-actions
Copy link
Contributor

github-actions bot commented Jun 8, 2023

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

@cw118 cw118 self-assigned this Jun 10, 2023
@github-actions github-actions bot removed the merge conflicts 🚧 This pull request has merge conflicts that must be resolved. label Jun 10, 2023
Copy link
Member

@cw118 cw118 left a comment

Choose a reason for hiding this comment

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

Thanks very much again :)

@cw118 cw118 merged commit 77f45fd into mdn:main Jun 10, 2023
@Lou8is Lou8is deleted the #5603-removes-HTMLAttrDef branch June 10, 2023 09:55
Lou8is added a commit to Lou8is/translated-content that referenced this pull request Jun 10, 2023
Co-authored-by: Carolyn Wu <87150472+cw118@users.noreply.github.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
l10n-fr Issues related to French content.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants