Toggle navigation
Home
New Query
Recent Queries
Discuss
Database tables
Database names
MediaWiki
Wikibase
Replicas browser and optimizer
Login
History
Fork
Fork of
tgwp interwiki links from wikidata where the article no longer exists
by
Mike Peel
This query is marked as a draft
This query has been published
by
Estopedist1
.
Toggle Highlighting
SQL
USE enwiki_p; SELECT CONCAT('Q', ips_item_id), ips_site_id, ips_site_page FROM wikidatawiki_p.wb_items_per_site LEFT JOIN page ON REPLACE(ips_site_page, ' ', '_') = page_title AND page_namespace = 0 WHERE page_title IS NULL AND ips_site_id = 'tgwiki' AND ips_site_page NOT LIKE '%:%';
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...