diff --git a/kumascript/src/api/web.ts b/kumascript/src/api/web.ts index 2f529e392631..20c49450112d 100644 --- a/kumascript/src/api/web.ts +++ b/kumascript/src/api/web.ts @@ -144,17 +144,6 @@ const web = { hrefSplit[1] = "en-US"; const enUSPage = this.info.getPageByURL(hrefSplit.join("/")); if (enUSPage.url) { - // But it's still a flaw. Record it so that translators can write a - // translated document to "fill the hole". - if (!ignoreFlawMacro) { - flaw = this.env.recordNonFatalError( - "broken-link", - `${hrefpath} does not exist but fell back to ${enUSPage.url}` - ); - flawAttribute = ` data-flaw-src="${util.htmlEscape( - flaw.macroSource - )}"`; - } content ??= enUSPage.short_title ?? enUSPage.title; const title = ONLY_AVAILABLE_IN_ENGLISH(this.env.locale);