Toggle navigation
Home
New Query
Recent Queries
Discuss
Database tables
Database names
MediaWiki
Wikibase
Replicas browser and optimizer
Login
History
Fork
Fork of
Wikidata items with direct sitelinks to File pages on Commons
by
Jheald
This query is marked as a draft
This query has been published
by
Jarekt
.
Explanation: Files are not articles or categories, so Wikidata entries should not usually have sitelinks registered to them. For a formatted list, use http://quarry.wmflabs.org/query/451 Published at https://www.wikidata.org/wiki/Wikidata:WikiProject_Structured_Data_for_Commons/Phase_1_progress/Links/File
Toggle Highlighting
SQL
use wikidatawiki_p; SELECT CONCAT('Q', ips_item_id) AS item, ips_site_page AS link FROM wb_items_per_site WHERE ips_site_id='commonswiki' AND ips_site_page LIKE 'File:%' ORDER BY ips_item_id ASC;
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...