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
Jean-Frédéric
.
Users of the template {{Credit line}} on Wikimedia Commons. (Yes, the username retrieved is not the original uploader, but that should be good enough for this purpose)
Toggle Highlighting
SQL
use commonswiki_p; SELECT /* SLOW_OK */ DISTINCT img_user_text AS USER, COUNT(page.page_title) AS img_count FROM image, page, templatelinks WHERE page.page_namespace = 6 AND image.img_name = page.page_title AND page.page_id = templatelinks.tl_from AND templatelinks.tl_namespace = 10 AND templatelinks.tl_title = "Credit_line" GROUP BY USER ORDER BY img_count DESC;
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...