diff --git a/kumascript/macros/SpecName.ejs b/kumascript/macros/SpecName.ejs
deleted file mode 100644
index 490dd7587613..000000000000
--- a/kumascript/macros/SpecName.ejs
+++ /dev/null
@@ -1,77 +0,0 @@
-<%
-// Creates a link to a specification, given a "short" version of the spec's
-// name. The link will use the formal name of the specification as the link
-// text.
-//
-// Parameters:
-// $0 The shorthand name of the specification to link to.
-// $1 (Optional) Added text to append to the base URL; this allows you to
-// build links to subpages in a multi-page spec, or to link to anchors.
-// $2 (Optional) Replacement link text; this lets you specify the name of
-// a specific method, property, or other entity to customize the
-// appearance of the link.
-mdn.deprecated();
-
-var spec = $0;
-if (spec.includes('\n')) {
- throw new Error("SpecName first argument can't have a newline character in it");
-}
-var anchor = $1;
-var name;
-var url;
-var title;
-var result;
-var lang = env.locale;
-
-var specList = web.getJSONData("SpecData");
-
-// Some APIs share specifications. Here we attend to that.
-
-specList['Blending'] = specList['Compositing'];
-specList['CSS3 2D Transforms'] = specList['CSS3 Transforms'];
-specList['CSS3 3D Transforms'] = specList['CSS Transforms 2'];
-specList['CSS3 Break'] = specList['CSS3 Fragmentation'];
-specList['CSS3 Flexbox'] = specList['CSS Flexbox'];
-specList['CSS3 Template'] = specList['CSS3 Grid'] = specList['CSS Grid'];
-specList['CSS3 UI'] = specList['CSS3 Basic UI'];
-specList['CSS4 UI'] = specList['CSS4 Basic UI'];
-specList['CSS Scroll Snap Points'] = specList['CSS Scroll Snap'];
-specList['WebSMS'] = specList['Messaging'];
-specList['ES2015'] = specList['ES6'];
-specList['ES7'] = specList['ES2016'];
-specList['ES8'] = specList['ES2017'];
-
-// Pull out the name and URL (or use "unknown" if not available)
-
-name = specList[spec] && specList[spec].name || 'Unknown';
-url = specList[spec] && specList[spec].url || 'about:unknown';
-
-// If a replacement link text is provided, use that.
-
-if ($2) {
- title = mdn.localString({
- "en-US": "The definition of '" + $2 + "' in that specification.",
- "es": "La definición de '" + $2 + "' en esta especificación.",
- "fr": "La définition de '" + $2 + "' dans cette spécification.",
- "ru": "Определение '" + $2 + "' в этой спецификации.",
- "zh-CN": $2,
- "ja": $2 + " の定義",
- });
-
- result = '' + name + '
' + title + "";
-
-} else {
- title = mdn.localString({
- "en-US": "The '" + name + "' specification",
- "es": "La especificación '" + name + "'",
- "fr": "La spécificaction '" + name + "'",
- "ru": "Спецификация '" + name + "'",
- "zh-CN": name,
- "ja": name + "の仕様書",
- });
-
- result = '' + name + "";
-}
-
-
-%><%- result %>
diff --git a/kumascript/macros/spec.ejs b/kumascript/macros/spec.ejs
deleted file mode 100644
index 1eac9ef64cd1..000000000000
--- a/kumascript/macros/spec.ejs
+++ /dev/null
@@ -1,82 +0,0 @@
-<%
-/*
-********************************************************************************
-* WARNING: Do not use this template anymore. It leads to unmaintainable pages *
-* Exclusively use compatibility tables with the Spec2 and SpecName templates *
-********************************************************************************
-
-Inserts a link to W3C specification. (OPTION: Insert states Indicator.)
- https://developer.mozilla.org/en-US/docs/Project:Custom_Templates#Template.3Aspec
-
-parameters:
- $0 = link to specification
- $1 = link text (optional)
- $2 = status of specification (optional). Possible values: ED, WD, LC, CR, PR, REC. ( Lowercase O.K ! )
-*/
-
-// Throw a MacroDeprecatedError flaw
-// Condition for removal: no more use in any content (May 2022: 319 occurrences)
-// 0 occurrences left in en-US
-mdn.deprecated();
-
-var lang = env.locale;
-var status = ($2).toUpperCase();
-var title = "";
-var color = "#fff";
-var bgcolor = "";
-var titles = [];
-var bgc = ["#e61919", "#e66e33", "#e2a669", "#cfd510", "#72ac35", "#309c40", "#000"];
-
-function setting(i) { bgcolor = bgc[i]; title = titles[i]; }
-
-
-
-/* = = = = = Localize = = = = = = */
-switch(lang) {
- case "es":
- titles = [ "Editor's Draft (unofficial)", "Working Draft", "Last Call", "Candidate Recommendation", "Proposed Recommendation", "Recommendation" ];
- break;
- case "fr":
- titles = [ "Editor's Draft (unofficial)", "Working Draft", "Last Call", "Candidate Recommendation", "Proposed Recommendation", "Recommendation" ];
- break;
- case "ja":
- titles = [ "草案(非公式)", "草案", "最終草案", "勧告候補", "勧告案", "W3C 勧告" ];
- break;
- case "ko":
- titles = [ "작성 중 초안 (비공식)", "초안", "최종 초안", "후보 권고안", "제안 권고안", "W3C 권고안" ];
- break;
- case "pt-BR":
- titles = [ "Editor's Draft (unofficial)", "Working Draft", "Last Call", "Candidate Recommendation", "Proposed Recommendation", "Recommendation" ];
- break;
- case "ru":
- titles = [ "Редакторский черновик (неофициальный)", "Рабочий черновик", "Последнее изменение", "Кандидат в рекомендации", "Предложенная рекомендация", "Рекомендация" ];
- break;
- case "zh-CN":
- titles = [ "编辑草案(非官方)", "工作草案", "Last Call", "候选标准", "推荐标准", "正式标准" ];
- break;
- case "zh-TW":
- titles = [ "Editor's Draft (unofficial)", "Working Draft", "Last Call", "Candidate Recommendation", "Proposed Recommendation", "Recommendation" ];
- break;
- default:
- titles = [ "Editor's Draft (unofficial)", "Working Draft", "Last Call", "Candidate Recommendation", "Proposed Recommendation", "Recommendation" ];
- break;
-}/* = = = = = = = = = = = = = = */
-
-
-
-switch(status) {
- case 'ED': setting(0); break;
- case 'WD': setting(1); break;
- case 'LC': setting(2); break;
- case 'CR': setting(3); break;
- case 'PR': setting(4); break;
- case 'REC': setting(5); break;
- default: setting(6); break;
-}%><%- web.link( $0, ($1 || $0) ) %><%
-if ($2) {
- %>title="<%=title%>" <%
- %>style="color:<%-color%>;<%
- %>background:<%-bgcolor%>;<%
- %>display:inline-block; font-size:x-small; margin-left:6px; white-space:nowrap; padding:2px 5px;"><%- status %><%
-} %>
diff --git a/kumascript/macros/spec2.ejs b/kumascript/macros/spec2.ejs
deleted file mode 100644
index 5c6320283a0a..000000000000
--- a/kumascript/macros/spec2.ejs
+++ /dev/null
@@ -1,136 +0,0 @@
-<%
-/* parameters: */
-/* $0 = name of specification */
-mdn.deprecated();
-
-var specList = web.getJSONData("SpecData");
-
-var status = {};
-
-Object.keys(specList).forEach(function(name) {
- status[name] = specList[name].status;
-});
-
-status['CSS3 2D Transforms'] = status['CSS3 Transforms'];
-status['CSS3 3D Transforms'] = status['CSS Transforms 2'];
-status['CSS3 Flexbox'] = status['CSS Flexbox'];
-status['CSS3 Grid'] = status['CSS Grid'];
-status['CSS3 UI'] = status['CSS3 Basic UI'];
-status['CSS4 UI'] = status['CSS4 Basic UI'];
-status['CSS Scroll Snap Points'] = status['CSS Scroll Snap'];
-status['WebSMS'] = status['Messaging'];
-status['Blending'] = status['Compositing'];
-status['ES2015'] = status['ES6'];
-status['ES7'] = status['ES2016'];
-status['ES8'] = status['ES2017'];
-
-var label = {
- 'REC': mdn.localString({
- 'en-US' : 'Recommendation',
- 'fr' : 'Recommendation',
- 'ja' : '勧告',
- 'ko' : '권고안',
- 'pt-BR' : 'Recomendação',
- 'ru' : 'Рекомендация'
- }),
- 'PR' : mdn.localString({
- 'en-US' : 'Proposed Recommendation',
- 'fr' : 'Recommendation proposée',
- 'ja' : '勧告案',
- 'ko' : '제안 권고안',
- 'pt-BR' : 'Recomendação proposta',
- 'ru' : 'Предложенная рекомендация'
- }),
- 'CR' : mdn.localString({
- 'en-US' : 'Candidate Recommendation',
- 'fr' : 'Candidat au statut de recommandation',
- 'ja' : '勧告候補',
- 'ko' : '후보 권고안',
- 'pt-BR' : 'Candidata a Recomendação',
- 'ru' : 'Кандидат в рекомендации'
- }),
- 'RC' : mdn.localString({
- 'en-US' : 'Release Candidate',
- 'fr' : 'En cours de validation comme recommandation',
- 'ja' : 'リリース候補',
- 'ko' : '최종 후보',
- 'pt-BR' : 'Recomendação em homologação',
- 'ru' : 'Кандидат в рекомендации'
- }),
- 'WD' : mdn.localString({
- 'en-US' : 'Working Draft',
- 'fr' : 'Version de travail',
- 'ja' : '草案',
- 'ko' : '초안',
- 'pt-BR' : 'Rascunho atual',
- 'ru' : 'Рабочий черновик'
- }),
- 'ED' : mdn.localString({
- 'en-US' : 'Editor\'s Draft',
- 'fr' : 'Brouillon de l\'éditeur',
- 'ja' : '編集者草案',
- 'ko' : '작성 중 초안',
- 'pt-BR' : 'Rascunho editorial',
- 'ru' : 'Редакторский черновик'
- }),
- 'Old-Transforms' : mdn.localString({
- 'en-US' : 'This has been merged in another draft. Please update.',
- 'fr' : 'Cette spécification a été fusionnée avec une autre. Veuillez mettre à jour cette mention.',
- 'ja' : 'この仕様は他のドラフトへ移動されました。アップデートしてください。',
- 'ko' : "다른 초안과 합쳐졌습니다. 업데이트 하세요.",
- 'pt-BR' : 'Isso foi anexado a outro rascunho. Por favor, atualize.',
- 'ru' : 'Эта спецификация была слита с другим черновиком. Пожалуйста, обновите.'
- }),
- 'Living' : mdn.localString({
- 'en-US' : 'Living Standard',
- 'fr' : 'Standard évolutif',
- 'ja' : '現行の標準',
- 'pt-BR' : 'Padrão em tempo real',
- 'ru' : 'Живой стандарт'
- }),
- 'RFC' : mdn.localString({
- 'en-US' : 'IETF RFC'
- }),
- 'Standard' : mdn.localString({
- 'en-US' : 'Standard',
- 'fr' : 'Standard',
- 'ja' : '標準',
- 'ko' : '표준',
- 'pt-BR' : 'Padrão',
- 'ru' : 'Стандарт'
- }),
- 'Draft' : mdn.localString({
- 'en-US' : 'Draft',
- 'fr' : 'Projet',
- 'ja' : 'ドラフト',
- 'ko' : '초안',
- 'pt-BR' : 'Rascunho',
- 'ru' : 'Черновик',
- }),
- 'Obsolete' : mdn.localString({
- 'en-US' : 'Obsolete',
- 'ja' : '廃止',
- 'ko' : '폐기됨',
- 'pt-BR' : 'Obsoleto',
- 'ru' : 'Устаревшая'
- }),
- 'LC' : mdn.localString({
- 'en-US' : 'Last Call Working Draft',
- 'ja' : '最終草案',
- 'ko' : '최종 초안',
- 'pt-BR' : 'Ultima chamada para rascunho',
- 'ru' : 'Последнее изменение рабочего черновика'
- })
-}
-
-var unknown_label = mdn.localString({
- 'en-US' : 'Unknown',
- 'fr' : 'Statut inconnu',
- 'ja' : '不明',
- 'ko' : '알 수 없음',
- 'pt-BR' : 'Desconhecido',
- 'ru' : 'Неизвестно'
-});
-
-%>
-<%= (status[$0] && label[status[$0]]) || unknown_label %>