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
JJMC89
.
Project namespace redirects to main namespace with some common acceptable ones excluded
Toggle Highlighting
SQL
select concat('[[Wikipedia:',p.page_title,']]') `Redirect`, concat('[[:',rd.rd_title,']]') `Target` from redirect rd left join page p on rd.rd_from = p.page_id where rd.rd_namespace = 0 and p.page_namespace = 4 and p.page_title not like 'WikiProject%' and p.page_title not rlike '(?:Article_Incubator|Articles_for_creation|Requested_articles|School_and_university_projects|United_States_Education_Program|WikiAfrica)/%' and rd.rd_from not like 'Project_%' ;
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...