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
.
List disambiguation pages with incoming links from namespace 0, ordered by link count (highest first)
Toggle Highlighting
SQL
SELECT Pd.page_title AS dab, COUNT(*) AS links FROM categorylinks JOIN page ON Pd.page_id=cl_from AND Pd.page_namespace=0 JOIN pagelinks ON pl_namespace=0 AND pl_title=Pd.page_title AND pl_from_namespace=0 JOIN page Pa ON Pa.page_id=pl_from AND Pa.page_namespace=0 AND Pa.page_is_redirect=0 WHERE cl_to="All_disambiguation_pages" AND cl_type='page' GROUP BY dab ORDER BY links DESC
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...