SQL
AخA
USE zhwiki_p;
SELECT page_title, COUNT(*) AS c FROM page
JOIN templatelinks ON tl_title = page_title
/*LEFT JOIN page_restrictions ON pr_page = page_id AND pr_type = 'edit'*/
WHERE page_namespace = 10# AND pr_level IS NULL
GROUP BY page_title
ORDER BY c DESC
LIMIT 500
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.