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
ASammour
.
هذا الاستعلام يستخرج قوالب التصفح غير الموجودة في ويكيبيديا العربية، ويقوم كذلك بجلب عدد المقالات اليتيمة التي يُمكن إصلاحها بإنشاء هذه القوالب
Toggle Highlighting
SQL
use enwiki_p; select distinct tl_title, count(tl_from) from templatelinks inner join page on page_title = tl_title inner join langlinks on ll_from = tl_from where page_namespace=10 and page_is_redirect = 0 and page_id not in (select ll_from from langlinks where ll_lang = "ar" and page_id = ll_from) and tl_from in (select ll_from from langlinks where ll_lang = "ar" and tl_from = ll_from) and ll_title in (select arwiki_p.page.page_title from arwiki_p.page inner join arwiki_p.categorylinks on arwiki_p.page.page_id = arwiki_p.categorylinks.cl_from where arwiki_p.categorylinks.cl_to = "جميع_المقالات_اليتيمة" and ll_title = arwiki_p.page.page_title and arwiki_p.page.page_namespace = 0) group by tl_title order by count(tl_from) desc limit 2000;
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...