Toggle navigation
Home
New Query
Recent Queries
Discuss
Database tables
Database names
MediaWiki
Wikibase
Replicas browser and optimizer
Login
History
Fork
Fork of
Video usages on Basque Wikipedia
by
Lucas Werkmeister
This query is marked as a draft
This query has been published
by
Ainali
.
Toggle Highlighting
SQL
USE `commonswiki_p`; SELECT COUNT(*) AS `videos`, COUNT(DISTINCT `gil_page_title`) AS `articles` FROM `globalimagelinks` WHERE `gil_wiki` = 'svwiki' -- select different target wiki here (warning: probably prohibitively slow for very large wikis) AND `gil_page_namespace_id` = 0 AND (`gil_to` LIKE '%.oga' OR `gil_to` LIKE '%.mp3' OR `gil_to` LIKE '%.mid' OR `gil_to` LIKE '%.wav' OR `gil_to` LIKE '%.flac'OR `gil_to` LIKE '%.ogg');
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...