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 where page_namespace=10 and tl_title like "%president%" 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 (select ll_title from langlinks where ll_lang = "ar" and tl_from = ll_from) in (select arwiki_p.categorylinks.cl_from from arwiki_p.categorylinks where arwiki_p.categorylinks.cl_to = "جميع_المقالات_اليتيمة" and arwiki_p.categorylinks.cl_from = tl_from) group by tl_title order by count(tl_from) desc limit 200;
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...