diff --git a/kumascript/macros/bug.ejs b/kumascript/macros/bug.ejs deleted file mode 100644 index 7c42c07d0f12..000000000000 --- a/kumascript/macros/bug.ejs +++ /dev/null @@ -1,53 +0,0 @@ -<% -/* - * Inserts a link to a bug in Mozilla's Bugzilla database. - * - * $0 - The bug number to link to. - * $1 - Type of output (optional) - * bug (default) - Linked bug number - * table - Row in a table, columns are linked bug number and an empty cell - * $2 - Comment number to link to (optional) - * - * http://www.bugzilla.org/docs/tip/en/html/api/Bugzilla/WebService/Server/REST.html - * https://wiki.mozilla.org/Bugzilla:REST_API - */ - -// Condition for removal: no more use in any content (Feb 2023: 7477 occurrences) -// 224 occurrences left in en-US -mdn.deprecated("This macro is deprecated; replace with `[Firefox bug ](https://bugzil.la/)`."); - -var type = $1 || 'bug'; -var bugNumber = $0; -var bugPageURL = 'https://bugzilla.mozilla.org/show_bug.cgi?id=' + bugNumber; - -var s_comment = ""; - -if ($2 != undefined && !isNaN($2)) { - var comment = parseInt($2, 10); - if (!isNaN(comment)) { - bugPageURL += "#c" + comment; - - s_comment = mdn.localString({ - "en-US": ", comment " + comment - }); - } -} - -var s_bug = mdn.localString({ - "en-US": "bug", - "es" : "error", - "ja" : "バグ", - "ko" : "오류", - "ru" : "баг", - -}); -if (type == 'table') { %> - - <%= bugNumber %> - - -<% -} else { -%> -<%=s_bug%> <%= bugNumber %><%=s_comment%> -<% } %> diff --git a/kumascript/macros/htmlattrdef.ejs b/kumascript/macros/htmlattrdef.ejs deleted file mode 100644 index 72e49ea6eac9..000000000000 --- a/kumascript/macros/htmlattrdef.ejs +++ /dev/null @@ -1,7 +0,0 @@ -<% -// Throw a MacroDeprecatedError flaw -// Condition for removal: no more use in translated-content -// 0 occurrences left in en-US -mdn.deprecated("This macro is deprecated; see https://github.com/orgs/mdn/discussions/347 to learn how to replace it."); -%> -<%=$0%> diff --git a/kumascript/macros/xref_cssvisual.ejs b/kumascript/macros/xref_cssvisual.ejs deleted file mode 100644 index b5c2a267dbf6..000000000000 --- a/kumascript/macros/xref_cssvisual.ejs +++ /dev/null @@ -1,20 +0,0 @@ -<% -// Condition for removal: no more use in translated-content -mdn.deprecated(); -%> - -<% if ("es" == env.locale) { %> -<%- await template("Cssxref", ["Media/Visual", "visual"]) %> -<% } else if ("fr" == env.locale) { %> -<%- await template("Cssxref", ["Média/Visuel", "visuel"]) %> -<% } else if ("ja" == env.locale) { %> -<%- await template("Cssxref", ["Media/Visual", "visual"]) %> -<% } else if ("ko" == env.locale) { %> -<%- await template("Cssxref", ["Media/Visual", "보기 가능"]) %> -<% } else if ("zh-CN" == env.locale) { %> -<%- await template("Cssxref", ["Media/Visual", "visual"]) %> -<% } else if ("zh-TW" == env.locale) { %> -<%- await template("Cssxref", ["Media/Visual", "可見"]) %> -<% } else { %> -<%- await template("Cssxref", ["Media/Visual", "visual"]) %> -<% } %>