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
Jarekt
.
Number of files in Commons "Media_missing_infobox_template" category that use [[Template:Self]]
Toggle Highlighting
SQL
/* Commons files without an infobox and not in "Media_missing_infobox_template" Category */ use commonswiki_p; select /* SLOW_OK */ count(*) from page, categorylinks, templatelinks where page_namespace=6 and -- files only page_is_redirect=0 and -- no redirects cl_from=page_id and cl_to ="Media_missing_infobox_template" and tl_from = page_id and tl_namespace=10 and tl_title in ("Self", "PD-self")
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...