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
.
The “Été des Villes 2015“ was a Wikimedia France program running during summer. It resulted in 16K pictures, with 25% usage on projects. Let’s see how many articles are using them.
Toggle Highlighting
SQL
use commonswiki_p; SELECT /* SLOW_OK */ page_title AS title, COUNT(gil_wiki) as Uses, COUNT(DISTINCT gil_wiki) as NbWikis FROM page JOIN categorylinks JOIN globalimagelinks WHERE page.page_id=categorylinks.cl_from AND gil_page_namespace_id = 0 AND (gil_wiki!='frwiki') AND gil_to = page_title AND categorylinks.cl_to = "Foreground_flowers" GROUP BY title;
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...