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
Darcyisverycute
.
Toggle Highlighting
SQL
select pageA.page_title from page pageA where pageA.page_namespace = 0 # Filter out hard redirects and pageA.page_is_redirect = 0 and not exists( select 1 from categorylinks join page pageB on pageB.page_namespace = 1 where pageB.page_id=categorylinks.cl_from and pageB.page_title = pageA.page_title and (categorylinks.cl_to like "%articles") ) and not exists( # Main article pages get disambiguation, set index tags and soft redirect indicators select 1 from categorylinks join templatelinks on tl_from = pageA.page_id where pageA.page_id=categorylinks.cl_from and (categorylinks.cl_to like "%Disambiguation" or categorylinks.cl_to like "%disambiguation%" or categorylinks.cl_to = "disambig" or categorylinks.cl_to like "Disambig%" or categorylinks.cl_to = "All_set_index_articles" # Redirects not of the form "R from ... which will be soft redirects with page_is_redirect=0" or tl_title = "Soft_redirect" or tl_title = "Double_soft_redirect" or tl_title = "Category_redirect" or tl_title = "Portal_soft_redirect" or tl_title = "Wiktionary_redirect" or tl_title = "Wikidata_redirect" or tl_title = "Wikibooks_redirect" or tl_title = "Wikiquote_redirect" or tl_title = "Wikisource_redirect" or tl_title = "Wikispecies_redirect" or tl_title = "Wikivoyage_redirect" or tl_title = "Commons_redirect" # Filter out any other soft redirects (this is usually due to an ongoing RfD) or tl_title like "R\_%")) limit 200
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...