From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.2 (2018-09-13) on dcvr.yhbt.net X-Spam-Level: X-Spam-ASN: X-Spam-Status: No, score=-4.0 required=3.0 tests=ALL_TRUSTED,BAYES_00 shortcircuit=no autolearn=ham autolearn_force=no version=3.4.2 Received: from localhost (dcvr.yhbt.net [127.0.0.1]) by dcvr.yhbt.net (Postfix) with ESMTP id 9E9811F4C5 for ; Thu, 24 Oct 2019 00:12:42 +0000 (UTC) From: Eric Wong To: meta@public-inbox.org Subject: [PATCH 4/7] view: improve warning for multiple Message-IDs Date: Thu, 24 Oct 2019 00:12:38 +0000 Message-Id: <20191024001241.14224-5-e@80x24.org> In-Reply-To: <20191024001241.14224-1-e@80x24.org> References: <20191024001241.14224-1-e@80x24.org> MIME-Version: 1.0 Content-Transfer-Encoding: 8bit List-Id: "refer" is not the correct term, here; since that would mean multiple messages have the current message in the "References:" header, and that's a normal occurence. Instead, we need to warn the reader that the given message itself has multiple Message-IDs. --- lib/PublicInbox/View.pm | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/PublicInbox/View.pm b/lib/PublicInbox/View.pm index 855ad017..ff55596d 100644 --- a/lib/PublicInbox/View.pm +++ b/lib/PublicInbox/View.pm @@ -633,7 +633,7 @@ sub _msg_html_prepare { if ($nr == 0) { if ($more) { $rv .= -"
WARNING: multiple messages refer to this Message-ID\n
"; +"
WARNING: multiple messages have this Message-ID\n
"; } $rv .= ""; # anchor for body start } else {