SQL
x
use lvwiki_p;
SELECT
Concat('[[Template:',tl_title,']]'),
COUNT(*)
FROM templatelinks
WHERE tl_namespace = 10# and tl_from_namespace=0# tl_from_namespace=0
and tl_title not like "%/%"
GROUP BY tl_title
ORDER BY COUNT(*) DESC
LIMIT 4000;
use lvwiki_p;
SELECT
Concat('[[Template:',tl_title,']]'),
COUNT(*)
FROM templatelinks
WHERE tl_namespace = 10 and tl_from_namespace=6
GROUP BY tl_title
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.
All SQL code is licensed under CC0 License.