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
Certes
.
This query lists titles with 100+ incoming links which might be expected to be in italics or quotes and do not have a dab at the base name, e.g. Abraham_Lincoln_(1930_film). Links to the page at the base name which are in italics or quotes may be intended for the qualified name. To reduce run time, it checks one initial at a time with LIKE "A%(%)" etc.
Toggle Highlighting
SQL
SET STATEMENT max_statement_time = 1000 FOR SELECT pl_title, rd_title, COUNT(*) FROM pagelinks JOIN page P ON page_namespace = 0 AND page_title = SUBSTRING_INDEX(pl_title,"_(",1) AND pl_from_namespace = 0 LEFT JOIN categorylinks ON cl_from = P.page_id AND cl_type = "page" AND cl_to = "All_disambiguation_pages" LEFT JOIN templatelinks ON tl_from = P.page_id AND tl_from_namespace = 0 AND tl_namespace = 10 AND tl_title = "Italic_title" LEFT JOIN redirect R ON rd_from = P.page_id AND rd_namespace = 0 WHERE pl_title LIKE "M%(%)" AND pl_from_namespace = 0 AND pl_namespace = 0 AND pl_title REGEXP "[(_](genus|album|book|novel|video game|film|musical|opera|symphony|painting|sculpture|newspaper|journal|magazine|play|TV program(me)?|TV series|radio show|comic|song|LP|EP)[)]" AND cl_from IS NULL AND NOT EXISTS (SELECT 1 FROM categorylinks WHERE cl_to = "All_disambiguation_pages" AND cl_type = "page" AND cl_from = (SELECT page_id FROM page WHERE page_namespace = 0 AND page_title = R.rd_title)) AND tl_from IS NULL AND NOT EXISTS (SELECT 1 FROM templatelinks WHERE tl_title = "Italic_title" AND tl_from_namespace = 0 AND tl_namespace = 10 AND tl_from = (SELECT page_id FROM page WHERE page_namespace = 0 AND page_title = R.rd_title)) GROUP BY pl_title, rd_title HAVING COUNT(*) >= 100 ORDER BY pl_title
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...