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
Jheald
.
A formatted list of Wikidata items with sitelinks to pages in the Commons: namespace on Commons. Published at https://www.wikidata.org/wiki/Wikidata:WikiProject_Structured_Data_for_Commons/Phase_1_progress/Links/Commons For an unformatted list, use http://quarry.wmflabs.org/query/481
Toggle Highlighting
SQL
use wikidatawiki_p; SELECT CONCAT('* [[Q', ips_item_id, ']] : [[:c:', ips_site_page, ']] <--- {{Q|', ips_item_id, '}}') AS '== List of sitelinks ==' FROM wb_items_per_site WHERE ips_site_id='commonswiki' AND ips_site_page LIKE 'Commons:%' ORDER BY ips_item_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...