Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
28 changes: 0 additions & 28 deletions .github/workflows/python.yml

This file was deleted.

6 changes: 3 additions & 3 deletions reports.py
Original file line number Diff line number Diff line change
Expand Up @@ -186,7 +186,7 @@ def autopatrol_eligibles(self):
# The user was human
rc_bot = 0 AND
# It was a new page
rc_new = 1 AND
rc_source = 'mb.new' AND
# It's not a redirect
page_is_redirect = 0 AND
# User doesn't already have autoreviewer
Expand Down Expand Up @@ -214,7 +214,7 @@ def autopatrol_eligibles(self):
def new_wikiprojects(self):
query = """SELECT rc_timestamp, rc_title
FROM recentchanges
WHERE rc_new = 1
WHERE rc_source = 'mb.new'
AND rc_namespace = 4
AND rc_title LIKE 'WikiProject%'
AND rc_title NOT LIKE '%/%'
Expand Down Expand Up @@ -469,7 +469,7 @@ def most_edited_page_last_month(self):
# Make the query
query = """SELECT rc_title, count(*) as num_edits
FROM recentchanges
WHERE rc_namespace = 0 AND rc_type < 2
WHERE rc_namespace = 0 AND rc_source IN ('mw.edit', 'mw.new')
GROUP BY 1 ORDER BY 2 DESC
LIMIT 25;"""

Expand Down