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
Fehufanga
.
Toggle Highlighting
SQL
#============= #MAINSPACE #============= select p1.page_title, p1.page_namespace from page p1 left join redirect rd on p1.page_id = rd.rd_from left join ( select page_title from page where page_namespace = 0 ) p2 on p1.page_title = p2.page_title where p1.page_namespace = 1 and p1.page_title not regexp "/.*$" #and p1.page_title not regexp "/[Aa]rchive_?\d*$" #and p1.page_title not regexp "/[Cc]omments?$" #and p1.page_title not regexp "/[Tt]o[-_]?[Dd]o$" #and p1.page_title not regexp "/[Tt]o[-_]?[Dd]o$" #and p1.page_title not like "%/GA%" and p2.page_title is null and rd.rd_from is null and p1.page_id not in ( select cl.cl_from from categorylinks cl where cl.cl_to = "Wikipedia_orphaned_talk_pages_that_should_not_be_speedily_deleted" ) union #============= #CATEGORY #============= select p1.page_title, p1.page_namespace from page p1 left join redirect rd on p1.page_id = rd.rd_from left join ( select page_title from page where page_namespace = 14 ) p2 on p1.page_title = p2.page_title where p1.page_namespace = 15 and p1.page_title not regexp "/.*$" #and p1.page_title not regexp "/[Aa]rchive_?\d*$" #and p1.page_title not regexp "/[Cc]omments?$" #and p1.page_title not regexp "/[Tt]o[-_]?[Dd]o$" #and p1.page_title not regexp "/[Tt]o[-_]?[Dd]o$" #and p1.page_title not like "%/GA%" and p2.page_title is null and rd.rd_from is null and p1.page_id not in ( select cl.cl_from from categorylinks cl where cl.cl_to = "Wikipedia_orphaned_talk_pages_that_should_not_be_speedily_deleted" )
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...