SQL
AخA
SELECT COUNT(*) AS '#/existing mainspace redirects'
FROM page
WHERE page_namespace = 0
AND page_is_redirect = 1
AND (page_title LIKE '%(untitled%'
OR page_title LIKE '%(upcoming%'
OR page_title LIKE 'Untitled_%'
OR page_title LIKE 'Upcoming_%');
SELECT COUNT(*) AS '#/deleted mainspace pages in 2022'
FROM logging_logindex
WHERE log_type = 'delete'
AND log_action = 'delete'
AND log_timestamp >= '2022'
AND log_namespace = 0
AND (log_title LIKE '%(untitled%'
OR log_title LIKE '%(upcoming%'
OR log_title LIKE 'Untitled_%'
OR log_title LIKE 'Upcoming_%');
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.