SQL
x
use frwiki_p;
SELECT tl_title, pr_level, count(*) total FROM templatelinks left join page on page_title=tl_title and page_namespace=10 left join page_restrictions on pr_page=page_id and pr_type='edit' where tl_namespace=10 group by tl_title order by total desc limit 10000;
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.