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 pl_from, count(pl_title) from pagelinks inner join langlinks l1 on l1.ll_title = pl_title inner join langlinks l2 on l1.ll_from = l2.ll_from where ll_lang = "en" and l2.ll_lang = "ar" and pl_from not in (select ll_from from langlinks where ll_lang = "ar" and pl_from = ll_from) and l2.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 l2.ll_title = arwiki_p.page.page_title) group by pl_from order by count(pl_title) 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...