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
Edgars2007
.
use lvwiki_p; SELECT page_title, (SELECT count(*) FROM templatelinks WHERE tl_title = page_title AND tl_namespace = 10) as transclusions FROM page_props JOIN page ON page_id = pp_page and page_is_redirect=0 WHERE pp_propname = 'templatedata' AND page_namespace = 10 AND page_title NOT LIKE '%/doc'
Toggle Highlighting
SQL
use lvwiki_p; SELECT page_title, page_len, (SELECT count(*) FROM templatelinks WHERE tl_title = page_title AND tl_namespace = 10) as transclusions FROM page_props JOIN page ON page_id = pp_page and page_is_redirect=0 WHERE pp_propname = 'templatedata' AND page_namespace = 10 AND page_title NOT LIKE '%/doc'
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...