From 68d8fa10437f62d1230964c9f09642c6bd7fa55c Mon Sep 17 00:00:00 2001 From: A1lo Date: Mon, 29 Aug 2022 16:53:07 +0800 Subject: [PATCH] chore(macros): deprecate {{warning}} macro (#6994) --- kumascript/macros/warning.ejs | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/kumascript/macros/warning.ejs b/kumascript/macros/warning.ejs index 1ab1277a704a..906034859a43 100644 --- a/kumascript/macros/warning.ejs +++ b/kumascript/macros/warning.ejs @@ -1,5 +1,9 @@ <% +// Throw a MacroDeprecatedError flaw +// Can be removed when its usage translated-content is down to 0 +mdn.deprecated(); + var s_warning = mdn.localString({ "en-US": "Warning:", "de": "Achtung:",