Toggle navigation
Home
New Query
Recent Queries
Discuss
Database tables
Database names
MediaWiki
Wikibase
Replicas browser and optimizer
Login
History
Fork
Fork of
Highly used EN WP categories missing in FA WP (v2)
by
Huji
This query is marked as a draft
This query has been published
by
Huji
.
Toggle Highlighting
SQL
use enwiki_p; select CONCAT('Category:', cat_title) as cat_title, cat_pages from category left join page on page_title = cat_title where page_namespace = 14 and cat_pages > 1000 and 'fa' not in ( select ll_lang from langlinks where ll_from = page_id ) and page_id in ( select cl_from from categorylinks join page on page_title = cl_to and page_namespace = 14 join langlinks on ll_from = page_id and ll_lang = 'fa' ) and cat_title not like '%WikiProject_%' and cat_title not like '%Wikipedia_%' and cat_title not like '%Commons_%' and cat_title not like 'Redirect_%' and cat_title not like '%_redirects' and cat_title not like '%_category_%' and cat_title not like 'Articles_%' and cat_title not like '%_articles%' and cat_title not like 'Pages_%' and cat_title not like '%_pages' and cat_title not like '%talk_pages%' and cat_title not like '%_files%' and cat_title not like '%_importance%' and cat_title not like 'All_%' and cat_title not like '%_dmy_%' and cat_title not like 'Non-free_%' and cat_title not like 'CS1_%' and cat_title not like 'Fair_use_%' and cat_title not like '%AfC%' and cat_title not like 'User_%' and cat_title not like 'Stale_%' order by cat_pages desc;
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...