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
Mr. Ibrahem
.
We
Toggle Highlighting
SQL
SELECT CONCAT('[[:en:Template:', page.page_title, '|', page.page_title, ']]') AS "p", COUNT(*) AS articles FROM pagelinks JOIN page ON page.page_id = pagelinks.pl_title_id JOIN linktarget ON linktarget.lt_id = pagelinks.pl_target_id JOIN templatelinks t ON t.tl_from = page.page_id JOIN linktarget lt ON t.tl_target_id = lt.lt_id LEFT JOIN langlinks ll ON ll.ll_from = page.page_id AND ll.ll_lang = 'ar' WHERE pagelinks.pl_from_namespace = 0 AND page.page_namespace = 10 AND page.page_is_redirect = 0 AND page.page_title = linktarget.lt_title AND lt.lt_namespace = 10 AND lt.lt_title = 'Navbox' AND ll.ll_from IS NULL GROUP BY page.page_title ORDER BY articles DESC, page.page_title LIMIT 10;
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...