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
Abiyoyo
.
Toggle Highlighting
SQL
SELECT p.page_title, count(lt.lt_title) AS number FROM templatelinks AS t JOIN linktarget AS lt ON lt.lt_id = t.tl_target_id AND lt.lt_namespace = 10 JOIN page AS p ON p.page_title = t.tl_target_id WHERE t.tl_from_namespace = 0 AND lt.lt_title LIKE '%-stub' AND EXISTS ( SELECT NULL FROM page WHERE p.page_title = lt.lt_title AND p.page_is_redirect = 0 ) GROUP BY t.tl_from HAVING number > 1 ORDER BY number 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...