From c9de5ccb58af3a6ded3b992565dbb22f9b04c956 Mon Sep 17 00:00:00 2001 From: Ben Kurtovic Date: Mon, 25 Jan 2021 01:02:43 -0500 Subject: [PATCH] WP:AFC/R moved --- commands/afc_status.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/commands/afc_status.py b/commands/afc_status.py index a1a133d..df724d4 100644 --- a/commands/afc_status.py +++ b/commands/afc_status.py @@ -150,7 +150,7 @@ class AfCStatus(Command): def count_redirects(self): """Returns the number of open redirect submissions. Calculated as the total number of submissions minus the closed ones.""" - title = "Wikipedia:Articles for creation/Redirects" + title = "Wikipedia:Articles for creation/Redirects and categories" content = self.site.get_page(title).get() total = len(re.findall("^\s*==(.*?)==\s*$", content, re.MULTILINE)) closed = content.lower().count("{{afc-c|b}}")