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
Vexations
.
Toggle Highlighting
SQL
#SELECT DISTINCT talkpage.page_title, templatelinks.tl_title #FROM page article #JOIN page talkpage ON article.page_title = talkpage.page_title #JOIN templatelinks ON talkpage.page_id=templatelinks.tl_from #WHERE article.page_id IN ( # SELECT page.page_id # FROM revision # JOIN pagetriage_page ON rev_page = ptrp_page_id # JOIN page ON page_id = rev_page # WHERE rev_parent_id = 0 # AND ptrp_reviewed = 0 # AND page_namespace = 0 # AND page_is_redirect = 0 #) #AND talkpage.page_title NOT IN ( SELECT DISTINCT talkpage.page_title FROM page talkpage JOIN templatelinks ON talkpage.page_id=templatelinks.tl_from WHERE talkpage.page_namespace = 1 AND NOT templatelinks.tl_title = 'WikiProject_Albums' # AND NOT templatelinks.tl_title = OR 'WikiProject_Songs' # AND NOT templatelinks.tl_title = 'WikiProject_Trains' # AND NOT templatelinks.tl_title = 'WikiProject_China' # AND NOT templatelinks.tl_title = 'WikiProject_Korea' # AND NOT templatelinks.tl_title = 'WikiProject_Motorsport' # AND NOT templatelinks.tl_title = 'WikiProject_Biography' # AND NOT templatelinks.tl_title = 'WikiProject_Film' # AND NOT templatelinks.tl_title = 'WikiProject_Television' # AND NOT templatelinks.tl_title = 'WikiProject_Basketball' # AND NOT templatelinks.tl_title = 'WikiProject_Baseball' # AND NOT templatelinks.tl_title = 'WikiProject_Romania' # AND NOT templatelinks.tl_title = 'WikiProject_Schools' ## AND NOT templatelinks.tl_title = 'WikiProject_Women' # AND NOT templatelinks.tl_title = 'WikiProject_Women_in_Business' LIMIT 10 #)
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...