Toggle navigation
Home
New Query
Recent Queries
Discuss
Database tables
Database names
MediaWiki
Wikibase
Replicas browser and optimizer
Login
History
Fork
Fork of
Categories that have the highest number of orphan articles
by
ASammour
This query is marked as a draft
This query has been published
by
إسلام
.
Empty Categories in Arabic wiki
Toggle Highlighting
SQL
use arwiki_p; select cat_pages as "عدد الصفحات", CONCAT ("[[تصنيف:",cat_title,"]]") AS "العنوان" from category inner join page on page.page_title = category.cat_title where page.page_namespace=14 and category.cat_pages = 0 and category.cat_subcats = 0 and category.cat_files = 0 and page.page_is_redirect = 0 And Not page.page_id in (select tl_from from templatelinks where tl_title = 'تحويل_تصنيف') And Not page.page_id in (select tl_from from templatelinks where tl_title = 'تصنيف_فارغ') And Not page.page_id in (select tl_from from templatelinks where tl_title = 'تصنيف_مخفي');
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...