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
.
https://quarry.wmflabs.org/fork/45631
Toggle Highlighting
SQL
use arwiki_p; select page_title, replace(ll_title," ","_") from page inner join langlinks on ll_from = page_id where page_namespace = 0 and page_is_redirect = 0 and page_title not in (select page_title from page where page_namespace = 14 and page_title = page_title) and ll_lang= "en" and replace(ll_title," ","_") in (select enwiki_p.page.page_title from enwiki_p.page where enwiki_p.page.page_namespace = 14 and enwiki_p.page.page_title = replace(ll_title," ","_") and enwiki_p.page.page_is_redirect = 0) /*and (select enwiki_p.page.page_id from enwiki_p.page where enwiki_p.page.page_title = replace(ll_title," ","_") and enwiki_p.page.page_namespace = 14) not in (select enwiki_p.langlinks.ll_from from enwiki_p.langlinks where enwiki_p.langlinks.ll_lang = "ar")*/ and page_id not in (select cl_from from categorylinks where cl_to = "صفحات_توضيح" and cl_from = page_id) and (select enwiki_p.page.page_id from enwiki_p.page where enwiki_p.page.page_title = replace(ll_title," ","_") and enwiki_p.page.page_namespace = 14) not in ((select enwiki_p.categorylinks.cl_from from enwiki_p.categorylinks where enwiki_p.categorylinks.cl_to = "Disambiguation_categories")) and (select enwiki_p.page.page_id from enwiki_p.page where enwiki_p.page.page_title = replace(ll_title," ","_") and enwiki_p.page.page_namespace = 14) not in ((select enwiki_p.categorylinks.cl_from from enwiki_p.categorylinks where enwiki_p.categorylinks.cl_to = "Wikipedia_soft_redirected_categories")) and (select enwiki_p.page.page_id from enwiki_p.page where enwiki_p.page.page_title = replace(ll_title," ","_") and enwiki_p.page.page_namespace = 14) not in (select enwiki_p.langlinks.ll_from from enwiki_p.langlinks where enwiki_p.langlinks.ll_lang = "ar");
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...