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
Habst
.
Toggle Highlighting
SQL
SELECT pl_from_namespace AS namespace, pl_target_id AS target_id, COUNT(*) AS value FROM pagelinks LEFT JOIN page AS pg1 ON pg1.page_id = pl_target_id LEFT JOIN page AS pg2 ON pg2.page_id = pl_from WHERE pg1.page_id IS NULL -- Target page does not exist AND pl_from_namespace NOT IN (2, 3) -- Exclude User and User Talk namespaces AND pg2.page_namespace != 8 -- Exclude MediaWiki namespace -- GROUP BY -- pl_from_namespace, pl_target_id -- HAVING -- COUNT(*) > 0 -- Replace with your threshold value -- ORDER BY -- value DESC LIMIT 100;
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...