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
Hzza3
.
Toggle Highlighting
SQL
SELECT page_title, GROUP_CONCAT(REPLACE(pl_title, '_', ' ') SEPARATOR ',') AS red_links FROM pagelinks, page WHERE pl_from = page_id AND pl_from_namespace = 0 AND pl_namespace = 0 AND pl_title REGEXP 'ُ|ً|َ|ٍ|ِ|ّ' AND pl_title NOT IN ( SELECT red_page.page_title FROM page AS red_page WHERE page_namespace = 0) AND pl_namespace = 0 AND REPLACE(REPLACE(REPLACE(REPLACE(REPLACE(REPLACE(pl_title, '_', ' '), 'ً', ''), 'َ', ''), 'ٍ', ''), 'ِ', ''), 'ّ', '') IN ( SELECT blue_page.page_title FROM page AS blue_page WHERE blue_page.page_namespace = 0 ) GROUP BY pl_title ORDER BY pl_title ASC, page_title ASC;
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...