SQL
x
set @from = 20220907211314;
set @to = 20220909211314;
SELECT replace(p.page_title, "_", " ") AS "Page Title", COUNT(ct.ct_rev_id) AS "Number of Reversions"
FROM page p LEFT JOIN revision rv ON rv.rev_page = p.page_id LEFT JOIN change_tag ct ON ct.ct_rev_id = rv.rev_id
WHERE p.page_namespace = 0
AND ct.ct_tag_id = 241
AND rv.rev_timestamp BETWEEN @from AND @to
GROUP BY p.page_title
ORDER BY COUNT(ct.ct_rev_id) DESC
By running queries you agree to the Cloud Services Terms of Use and you irrevocably agree to release your SQL under CC0 License.
All SQL code is licensed under CC0 License.