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
Achim55
.
pages linking to redirects
Toggle Highlighting
SQL
#USE stop; SELECT enp.page_namespace, enp.page_title, eniwl.iwl_prefix, eniwl.iwl_title FROM enwiki_p.iwlinks eniwl RIGHT JOIN enwiki_p.page enp ON enp.page_id = eniwl.iwl_from #RIGHT JOIN commonswiki_p.page cop ON CONCAT('Category:',cop.page_title) = eniwl.iwl_title WHERE eniwl.iwl_prefix ='commons' AND eniwl.iwl_title = 'Category:' #AND (eniwl.iwl_title = 'Category:' # OR (cop.page_namespace = 14 # AND cop.page_is_redirect = 1) # ) ORDER BY enp.page_namespace, eniwl.iwl_title LIMIT 500;
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...