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
KCVelaga (WMF)
.
Toggle Highlighting
SQL
WITH in_pages AS ( SELECT page_id, page_title FROM page WHERE page_title IN {PAGES_LIST}), infoboxes AS ( SELECT page_id AS inf_id, page_title AS inf_title FROM page WHERE page_title REGEXP '(.*Infobox.*|.*ज्ञानसन्दूक.*|.*infobox.*)' AND NOT page_title REGEXP '(.*/doc.*|.*/row.*|.*/lua.*|.*/sandbox.*)' AND page_namespace = 10 AND page_is_redirect = 0), links AS ( SELECT * FROM pagelinks pl JOIN in_pages p ON pl.pl_from = p.page_id JOIN infoboxes i ON pl.pl_title = i.inf_title) SELECT * FROM links
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...