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
Nemo bis
.
Distinct usernames for {{Published|legal=no}} files, listed in https://commons.wikimedia.org/wiki/Category:Files_reused_by_external_parties_out_of_compliance_with_licensing_terms
Toggle Highlighting
SQL
USE commonswiki_p; SELECT img_name, el_to, actor_name FROM categorylinks JOIN page t ON cl_to = "Files_reused_by_external_parties_out_of_compliance_with_licensing_terms" JOIN externallinks ON t.page_id = el_from AND cl_from = t.page_id JOIN image ON t.page_title = img_name JOIN actor ON img_actor = actor_id JOIN page d ON d.page_title = t.page_title AND d.page_namespace = 6 JOIN pagelinks ON pl_from = d.page_id AND pl_title = REPLACE(actor_name, " ", "_") -- GROUP BY actor_id ;
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...