Fork of
Indef protected user talk pages
by Fæ
This query is marked as a draft
This query has been published
by Zhuyifei1999.
SQL
AخA
USE commonswiki_p;
SELECT
LEFT(log_timestamp,4) AS Year,
COUNT(DISTINCT page_title) AS Total,
GROUP_CONCAT(DISTINCT page_title, ' (', ipb_by_text,')' SEPARATOR '; ') AS Pages
FROM page_restrictions
JOIN page ON pr_page = page_id
WHERE pr_type = 'edit'
AND pr_level = 'sysop'
AND pr_expiry = 'infinity'
AND page_namespace = 3
AND NOT page_title LIKE '%/%'
GROUP BY LEFT(log_timestamp,4) 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.