Toggle navigation
Home
New Query
Recent Queries
Discuss
Database tables
Database names
MediaWiki
Wikibase
Replicas browser and optimizer
Login
History
Fork
This query is marked as a draft
This query has been published
by
LD
.
Toggle Highlighting
SQL
SELECT CONCAT('[[Modèle:', lt.lt_title, ']]') AS titre, CONCAT('[[Spécial:Pages_liées/', lt.lt_title, '']]) AS pages_liées, COUNT(*) AS nb_inclusion FROM templatelinks t INNER JOIN linktarget lt ON lt.lt_id = t.tl_target_id LEFT JOIN page p ON p.page_namespace = lt.lt_namespace AND p.page_title = lt.lt_title WHERE lt.lt_namespace = 10 -- Modèles dans l'espace 10 uniquement AND p.page_id IS NULL -- Modèles non utilisés dans l'espace 0 ni dans l'espace 10 GROUP BY lt.lt_title ORDER BY nb_inclusion ASC;
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...