Toggle navigation
Home
New Query
Recent Queries
Discuss
Database tables
Database names
MediaWiki
Wikibase
Replicas browser and optimizer
Login
History
Fork
Fork of
Old articles that probably need talk pages
by
'; drop database prod;
This query is marked as a draft
This query has been published
by
'; drop database prod;
.
Toggle Highlighting
SQL
SELECT DISTINCT CONCAT("[[", p.page_title, "]]") AS page_title, CONCAT("[[Talk:", p.page_title, "]]") AS talk_title, r.rev_timestamp AS time FROM revision AS r, page AS p -- only incude pages without a talk page LEFT OUTER JOIN page AS p2 ON p2.page_title = p.page_title AND p2.page_namespace = 1 AND p.page_namespace = 0 -- only include pages without the 'disambiguation' page property left outer join page_props on pp_page = p.page_id and pp_propname = "disambiguation" -- exclude members of this category left outer join categorylinks as c1 on c1.cl_type = "page" and c1.cl_from = p.page_id and c1.cl_to = "All_set_index_articles" -- exclude members of this category left outer join categorylinks as c2 on c2.cl_type = "page" and c2.cl_from = p.page_id and c2.cl_to = "Redirects_to_Wiktionary" where c1.cl_from is null AND c2.cl_from is null AND pp_page is null AND p2.page_title IS NULL AND p.page_namespace = 0 AND p.page_is_redirect = 0 AND r.rev_id = p.page_latest -- restrict to old pages AND r.rev_timestamp < 20190000000000 -- ORDER BY r.rev_timestamp 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...