From cdb3a8b1c2a1d00c363e2fdb4cc1840469ab6418 Mon Sep 17 00:00:00 2001 From: Andi Pieper Date: Thu, 31 Oct 2024 14:22:51 +0100 Subject: [PATCH 1/3] Fix macros on kitchensink page --- files/en-us/mdn/kitchensink/index.md | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/files/en-us/mdn/kitchensink/index.md b/files/en-us/mdn/kitchensink/index.md index b3a707daf503b7a..44a9d78a0e8f3f2 100644 --- a/files/en-us/mdn/kitchensink/index.md +++ b/files/en-us/mdn/kitchensink/index.md @@ -303,13 +303,13 @@ this.color("blue"); {{EmbedLiveSample('Rect_code', '700', '300') }} -{{APIRef("Bluetooth API")}}{{SeeCompatTable}} +{{APIRef("Web_Bluetooth_API")}}{{SeeCompatTable}} {{WebExtAPIRef("tabs.mutedInfo")}} ### Obsolete CSSOM interfaces {{deprecated_inline}} -{{InheritanceDiagram}} +{{InheritanceDiagram("WheelEvent")}} {{EmbedGHLiveSample("web-tech-games/index.html", '100%', 820)}} From 851a5e34e139caddb26b9c406f1b2acc411eed0e Mon Sep 17 00:00:00 2001 From: Andi Pieper Date: Thu, 31 Oct 2024 18:06:30 +0100 Subject: [PATCH 2/3] content fixes --- files/en-us/learn/server-side/django/introduction/index.md | 2 +- .../en-us/learn/server-side/first_steps/web_frameworks/index.md | 2 +- .../client-side_javascript_frameworks/introduction/index.md | 2 +- files/en-us/mdn/kitchensink/index.md | 2 +- .../writing_guidelines/page_structures/macros/other/index.md | 2 +- files/en-us/mdn/writing_guidelines/writing_style_guide/index.md | 2 +- 6 files changed, 6 insertions(+), 6 deletions(-) diff --git a/files/en-us/learn/server-side/django/introduction/index.md b/files/en-us/learn/server-side/django/introduction/index.md index 26c050627ce5212..f46c8b8e31e47cc 100644 --- a/files/en-us/learn/server-side/django/introduction/index.md +++ b/files/en-us/learn/server-side/django/introduction/index.md @@ -220,7 +220,7 @@ The code snippet shows what the HTML template called by the `render()` function {% if youngest_teams %} {% else %} diff --git a/files/en-us/learn/server-side/first_steps/web_frameworks/index.md b/files/en-us/learn/server-side/first_steps/web_frameworks/index.md index aa8417d6aff0385..37c9401cd1c305f 100644 --- a/files/en-us/learn/server-side/first_steps/web_frameworks/index.md +++ b/files/en-us/learn/server-side/first_steps/web_frameworks/index.md @@ -158,7 +158,7 @@ The code snippet below shows how this works. Continuing the "youngest team" exam {% if youngest_teams %} {% else %} diff --git a/files/en-us/learn/tools_and_testing/client-side_javascript_frameworks/introduction/index.md b/files/en-us/learn/tools_and_testing/client-side_javascript_frameworks/introduction/index.md index 98b04b8a21d170e..c0d21f7abd84e67 100644 --- a/files/en-us/learn/tools_and_testing/client-side_javascript_frameworks/introduction/index.md +++ b/files/en-us/learn/tools_and_testing/client-side_javascript_frameworks/introduction/index.md @@ -171,7 +171,7 @@ The vanilla JavaScript approach to building out new DOM elements in repetition w ```html diff --git a/files/en-us/mdn/kitchensink/index.md b/files/en-us/mdn/kitchensink/index.md index 44a9d78a0e8f3f2..aff58c8eb32699b 100644 --- a/files/en-us/mdn/kitchensink/index.md +++ b/files/en-us/mdn/kitchensink/index.md @@ -303,7 +303,7 @@ this.color("blue"); {{EmbedLiveSample('Rect_code', '700', '300') }} -{{APIRef("Web_Bluetooth_API")}}{{SeeCompatTable}} +{{SeeCompatTable}} {{WebExtAPIRef("tabs.mutedInfo")}} diff --git a/files/en-us/mdn/writing_guidelines/page_structures/macros/other/index.md b/files/en-us/mdn/writing_guidelines/page_structures/macros/other/index.md index a230739d73c5a69..295615a3649788b 100644 --- a/files/en-us/mdn/writing_guidelines/page_structures/macros/other/index.md +++ b/files/en-us/mdn/writing_guidelines/page_structures/macros/other/index.md @@ -12,7 +12,7 @@ In contrast to the macros listed in [Commonly-used macros](/en-US/docs/MDN/Writi This macro is used only with particular contexts, such as a specific API reference. -- [`RFC`](https://github.com/mdn/yari/blob/main/kumascript/macros/RFC.ejs) creates a link to the specified RFC, given its number. The syntax is: `\{\{RFC(number)\}\}`. For example, `\{\{RFC(2616)\}\}` becomes {{ RFC(2616) }}. +- [`RFC`](https://github.com/mdn/yari/blob/main/kumascript/macros/RFC.ejs) creates a link to the specified RFC, given its number. The syntax is: `\{{RFC(number)}}`. For example, `\{{RFC(2616)}}` becomes {{ RFC(2616) }}. ### Landing page components diff --git a/files/en-us/mdn/writing_guidelines/writing_style_guide/index.md b/files/en-us/mdn/writing_guidelines/writing_style_guide/index.md index 8dfeab4ea0e2a1f..ed23d72fa11a4ea 100644 --- a/files/en-us/mdn/writing_guidelines/writing_style_guide/index.md +++ b/files/en-us/mdn/writing_guidelines/writing_style_guide/index.md @@ -393,7 +393,7 @@ These are our recommendations for using certain technical terms: On MDN, you can optionally specify the HTML element in the [`HTMLElement` macro](/en-US/docs/MDN/Writing_guidelines/Page_structures/Macros/Commonly_used_macros#linking_to_pages_in_references), which will style the element, add the angle brackets "<>", as well as add a link to its reference page. - **Using backticks**: `` - - **Using the macro**: {{HTMLElement("span")}} (source in markdown: \\{{HTMLElement("span")\}}) + - **Using the macro**: {{HTMLElement("span")}} (source in markdown: `\{{HTMLElement("span")}}`) - **Parameters vs. arguments**: The preferred term on MDN Web Docs is **parameters**. Please avoid the term "arguments" for consistency whenever possible. From 4011d2f6bd6344e053b5a3045a66d12c2210ac99 Mon Sep 17 00:00:00 2001 From: Florian Dieminger Date: Thu, 31 Oct 2024 20:37:17 +0100 Subject: [PATCH 3/3] Update files/en-us/mdn/writing_guidelines/page_structures/macros/other/index.md Co-authored-by: Dipika Bhattacharya --- .../writing_guidelines/page_structures/macros/other/index.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/files/en-us/mdn/writing_guidelines/page_structures/macros/other/index.md b/files/en-us/mdn/writing_guidelines/page_structures/macros/other/index.md index 295615a3649788b..ff746e4582787ef 100644 --- a/files/en-us/mdn/writing_guidelines/page_structures/macros/other/index.md +++ b/files/en-us/mdn/writing_guidelines/page_structures/macros/other/index.md @@ -12,7 +12,7 @@ In contrast to the macros listed in [Commonly-used macros](/en-US/docs/MDN/Writi This macro is used only with particular contexts, such as a specific API reference. -- [`RFC`](https://github.com/mdn/yari/blob/main/kumascript/macros/RFC.ejs) creates a link to the specified RFC, given its number. The syntax is: `\{{RFC(number)}}`. For example, `\{{RFC(2616)}}` becomes {{ RFC(2616) }}. +- [`RFC`](https://github.com/mdn/yari/blob/main/kumascript/macros/RFC.ejs) creates a link to the specified RFC, given its number. The syntax is `\{{RFC(number)}}`. For example, `\{{RFC(2616)}}` becomes {{ RFC(2616) }}. ### Landing page components