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
Mess
.
Toggle Highlighting
SQL
USE itwiki_p; SELECT CONCAT('# [[', page_title, ']]') FROM page WHERE page_namespace = 0 AND page_is_redirect = 0 AND page_title NOT IN (SELECT pl_title FROM pagelinks WHERE pl_namespace = 0 AND pl_from NOT IN (SELECT page_id FROM page WHERE page_namespace <> 0) AND pl_from NOT IN (SELECT page_id FROM page WHERE page_is_redirect = 1 AND pl_namespace <> 0) AND pl_from NOT IN (SELECT page_id FROM page JOIN redirect ON page_id=rd_from WHERE page_namespace=0 AND rd_namespace = 0 AND NOT EXISTS ( SELECT * FROM page AS p JOIN pagelinks ON p.page_id = pl_from WHERE p.page_namespace = 0 AND pl_namespace = 0 AND pl_title = page.page_title)) AND pl_from NOT IN (SELECT cl_from FROM categorylinks, pagelinks WHERE cl_to = pl_title AND pl_namespace = 14 AND pl_from = 4195411)) /* Wikipedia:ConnectivityProjectInternationalization/ArticlesNotFormingValidLinks */ AND page_id NOT IN (SELECT cl_from FROM categorylinks, pagelinks WHERE cl_to = pl_title AND pl_namespace = 14 AND pl_from = 4195411) /* Wikipedia:ConnectivityProjectInternationalization/ArticlesNotFormingValidLinks */ ORDER BY page_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...