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
Pppery
.
Stolen from Cryptic
Toggle Highlighting
SQL
select distinct page_title from globalimagelinks join page on page_namespace = 6 and page_title = gil_to where gil_wiki = "metawiki" and gil_page_namespace_id=2 and gil_page_title like "%WMF%" and not exists ( select 1 from categorylinks parent where parent.cl_from = page_id and ( parent.cl_to = "Wikimedia_Foundation_staff" or exists ( select 1 from categorylinks grandparent join page ppage on ppage.page_namespace = 14 and ppage.page_title = parent.cl_to where grandparent.cl_from = ppage.page_id and grandparent.cl_to = "Wikimedia_Foundation_staff" ) ) )
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...