Toggle navigation
Home
New Query
Recent Queries
Discuss
Database tables
Database names
MediaWiki
Wikibase
Replicas browser and optimizer
Login
History
Fork
Fork of
Hewiki most transcluded templates without TemplateData
by
IKhitron
This query is marked as a draft
This query has been published
by
Stjn
.
The number of transclusions of each template page in [[Category:Шаблоны PMID]] and [[Category:Шаблоны DOI]]. Adapted from https://quarry.wmcloud.org/query/87169
Toggle Highlighting
SQL
WITH templates (t_title) AS ( SELECT page_title FROM categorylinks JOIN page ON page_id = cl_from WHERE page_namespace = 10 AND ( cl_to = 'Шаблоны_PMID' or cl_to = 'Шаблоны_DOI' ) ) SELECT t_title, COUNT(*) AS template_count FROM templates JOIN linktarget ON lt_namespace = 10 AND lt_title = t_title JOIN templatelinks ON tl_target_id = lt_id GROUP BY t_title ORDER BY template_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
.
Submit Query
Stop Query
All SQL code is licensed under
CC0 License
.
Checking query status...