Fork of Hewiki template restrictions by IKhitron
This query is marked as a draft This query has been published by IKhitron.

SQL

x
 
use hewiki_p;
select distinct(page_namespace) from page
where (page_restrictions like "%=sysop%")
or (page_restrictions like "%=templateeditor%")
or exists
(select * from page_restrictions
where page_id = pr_page
and (pr_level = "sysop"
or pr_level = "templateeditor"))
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.

Checking query status...