Toggle navigation
Home
New Query
Recent Queries
Discuss
Database tables
Database names
MediaWiki
Wikibase
Replicas browser and optimizer
Login
History
Fork
Fork of
Templatelinks protection checker (unprotected)
by
Naypta
This query is marked as a draft
This query has been published
by
Naypta
.
Semi-protected templates with over 500 transclusions
Toggle Highlighting
SQL
SET max_statement_time = 2600; SELECT CONCAT("Template:", REPLACE(tl_title, "_", " ")) AS "Semi-protected template", count(*) AS "Uses" FROM templatelinks INNER JOIN page ON page.page_namespace = 10 AND page.page_title = templatelinks.tl_title WHERE tl_namespace = 10 AND page.page_id NOT IN (SELECT pr_page FROM page_restrictions WHERE pr_type IN ("edit", "move", "upload") AND pr_level = "autoconfirmed") GROUP BY tl_title HAVING count(*) > 500 ORDER BY count(*) DESC
By running queries you agree to the
Cloud Services Terms of Use
and you irrevocably agree to release your SQL under
CC0 License
.
Submit Query
Stop Query
All SQL code is licensed under
CC0 License
.
Checking query status...