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
Krinkle
.
In context of https://phabricator.wikimedia.org/T307328#7925232.
Toggle Highlighting
SQL
SELECT page_id, page_title, cat_files, (SELECT COUNT(*) FROM page_props WHERE pp_page=page_id AND pp_propname='hiddencat' LIMIT 1) AS _hiddencat FROM page JOIN category on cat_title=page_title WHERE page_namespace=14 AND ( (page_title LIKE 'CC-BY%') OR (page_title LIKE 'Uses_of_%') OR (page_title LIKE '%_needing_%') OR (page_title LIKE '%_missing_%') ) AND cat_files > 0 AND NOT EXISTS (SELECT COUNT(*) FROM page_props WHERE pp_page=page_id AND pp_propname='hiddencat' LIMIT 1) ;
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...