From f4458c2174ab3770e37f5d6b6db1f35c56a74dd8 Mon Sep 17 00:00:00 2001 From: Siddharth VP Date: Mon, 20 Nov 2023 14:28:14 +0530 Subject: [PATCH] g13-1week: exclude pages in [[Category:All_drafts_subject_to_special_procedures]] --- reports/g13-1week.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/reports/g13-1week.ts b/reports/g13-1week.ts index 946cbf8..1b54069 100644 --- a/reports/g13-1week.ts +++ b/reports/g13-1week.ts @@ -30,7 +30,7 @@ async function runForDate(date: MwnDate) { AND page_is_redirect = 0 AND rev_timestamp < "${startTs}" AND rev_timestamp > "${endTs}" - + AND page_id NOT IN (SELECT cl_from FROM categorylinks WHERE cl_to = 'All_drafts_subject_to_special_procedures') UNION SELECT DISTINCT page_namespace, page_title, rev_timestamp