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
Omphalographer
.
This query finds categories on Commons whose names are ALL CAPITAL LETTERS and which don't have category pages associated with them. These categories are frequently added by inexperienced users to out-of-scope images such as selfies and advertisements.
Toggle Highlighting
SQL
SELECT CONCAT('https://commons.wikimedia.org/wiki/Category:', cat) AS link FROM ( SELECT DISTINCT cl_to AS cat FROM categorylinks WHERE LENGTH(cl_to) >= 3 AND cl_to RLIKE '^[A-Z]*$' ) sq LEFT OUTER JOIN page ON (cat = page.page_title AND page.page_namespace = 14) WHERE page.page_id IS NULL
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...