diff --git a/kumascript/macros/Interwiki.ejs b/kumascript/macros/Interwiki.ejs
deleted file mode 100644
index ff944c040b54..000000000000
--- a/kumascript/macros/Interwiki.ejs
+++ /dev/null
@@ -1,31 +0,0 @@
-<%
-// Insert a link to a page on an external wiki.
-//
-// Parameters:
-// $0 Wiki to link to ("wikipedia" or "wikimo")
-// $1 Path to page on the destination wiki
-// $2 Alternate link text to use instead of $1
-
-// Throw a MacroDeprecatedError flaw
-mdn.deprecated()
-
-var path = $1;
-var title = $2 || path;
-
-// Uppercase first character in path, replace all spaces with underscores.
-path = (path.charAt(0).toUpperCase() + path.slice(1)).replace(/ /g, "_");
-
-var lang = env.locale.substr(0, 2);
-var prefix = $0.toLowerCase();
-
-switch(prefix) {
- case 'wikipedia':
- %><%-title%><%
- break;
- case 'wikimo':
- %><%-title%><%
- break;
- default:
- %>Unknown prefix: <%- prefix %>.<%
- break;
-}%>
diff --git a/kumascript/src/info.ts b/kumascript/src/info.ts
index d72d856cc2e4..fc0ff6be4f09 100644
--- a/kumascript/src/info.ts
+++ b/kumascript/src/info.ts
@@ -12,23 +12,16 @@ const MACROS_IN_SUMMARY_TO_IGNORE = new Set([
"apiref",
"jsref",
"compat",
- "index",
"page",
- "obsolete_header",
"deprecated_header",
"previous",
"previousmenu",
"previousnext",
"previousmenunext",
- "wiki.localize",
"quicklinkswithsubpages",
]);
-const MACROS_IN_SUMMARY_TO_REPLACE_WITH_FIRST_ARGUMENT = new Set([
- "draft",
- "glossary",
- "anch",
-]);
+const MACROS_IN_SUMMARY_TO_REPLACE_WITH_FIRST_ARGUMENT = new Set(["glossary"]);
function repairURL(url) {
// Returns a lowercase URI with common irregularities repaired.
@@ -324,10 +317,6 @@ function postProcessSummaryHTMLSnippet(text, document) {
if (MACROS_IN_SUMMARY_TO_REPLACE_WITH_FIRST_ARGUMENT.has(macroName)) {
output += token.args[0];
- } else if (macroName === "interwiki") {
- // Include the last one. E.g.
- // {{Interwiki("wikipedia","Flynn%27s_taxonomy","classification of computer")}}
- output += token.args[token.args.length - 1];
} else {
output += `${token.args[0]}
`;
}