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
Uhai
.
Toggle Highlighting
SQL
SELECT CONCAT('https://en.wikipedia.org/w/index.php?title=User', CASE WHEN p.page_namespace = 3 THEN '_talk:' ELSE ':' END, p.page_title, '&redirect=no') AS URL FROM enwiki_p.page p LEFT JOIN enwiki_p.user u ON REPLACE(SUBSTRING_INDEX(p.page_title, '/', 1), '_', ' ') = u.user_name INNER JOIN enwiki_p.pagelinks pl ON p.page_id = pl.pl_from AND pl.pl_namespace NOT IN (2, 3) WHERE p.page_namespace IN (2, 3) AND u.user_id IS NULL AND p.page_is_redirect = 1 AND NOT IS_IPV4(SUBSTRING_INDEX(p.page_title, '/', 1)) -- Exclude IPv4 AND NOT IS_IPV6(SUBSTRING_INDEX(p.page_title, '/', 1)) -- Exclude IPv6
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...