Toggle navigation
Home
New Query
Recent Queries
Discuss
Database tables
Database names
MediaWiki
Wikibase
Replicas browser and optimizer
Login
History
Fork
Fork of
Cross-wiki uploads: statistics on survived PNGs, with usage
by
Nemo bis
This query is marked as a draft
This query has been published
by
Nemo bis
.
Toggle Highlighting
SQL
USE commonswiki_p; SELECT img_name, img_width*img_height/1000000 AS Mpx, gil_wiki AS usedIn, gil_page_namespace AS usedInNs-- , user_editcount FROM image JOIN logging ON log_title = img_name -- JOIN imagelinks -- ON img_name = il_to -- AND il_from = 45961050 -- https://commons.wikimedia.org/?curid=45961050 JOIN globalimagelinks ON img_name = gil_to WHERE log_action = 'upload' AND img_minor_mime = 'png' AND log_comment LIKE 'Cross-wiki upload%'; -- JOIN user -- ON img_user = user_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...