From 6e6bdff97ac632bec48a5686cab4e4256fb3b847 Mon Sep 17 00:00:00 2001 From: GlazerMann Date: Sat, 21 Dec 2024 08:52:57 -0600 Subject: [PATCH] tate.org.uk gets tate as author and Newspaper status --- Zotero.php | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/Zotero.php b/Zotero.php index 3c678bf94d..bd13fee674 100644 --- a/Zotero.php +++ b/Zotero.php @@ -551,6 +551,11 @@ public static function process_zotero_response(string $zotero_response, Template if (stripos($url, 'tumblr.com') !== false) { $result->itemType = 'webpage'; // @codeCoverageIgnore } + if (stripos($url, 'tate.org.uk') !== false) { + $result->itemType = 'webpage'; + unset($result->creators); + unset($result->author); + } // Reject if we find more than 5 or more than 10% of the characters are �. This means that character // set was not correct in Zotero and nothing is good. We allow a couple of � for German umlauts that arer easily fixable by humans.