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
SELECT pl_title, COUNT(*) FROM pagelinks JOIN page P ON page_namespace = 0 AND page_title = SUBSTRING_INDEX(pl_title,"_(",1) AND pl_from_namespace = 0 WHERE pl_title LIKE "Ab%(%)" 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 NOT EXISTS (SELECT 1 FROM page Pdummy STRAIGHT_JOIN categorylinks ON cl_from = Pdummy.page_id AND cl_to = "All_disambiguation_pages" WHERE Pdummy.page_id = P.page_id) AND NOT EXISTS (SELECT 1 FROM redirect STRAIGHT_JOIN page P2 ON P2.page_namespace = 0 AND P2.page_title = rd_title STRAIGHT_JOIN categorylinks ON cl_from = P2.page_id AND cl_to = "All_disambiguation_pages" WHERE rd_from = P.page_id AND rd_namespace = 0) GROUP BY pl_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...