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
Cryptic
.
Redirects from the Wikipedia namespace to User pages, excluding redirects to user subpages. (See also [[Category:Redirects to user namespace]].) For [[Wikipedia:Deletion review/Log/2024 October 12#Wikipedia:JDELANOY]].
Toggle Highlighting
SQL
SELECT CONCAT('[[WP:', REPLACE(page_title, '_', ' '), ']]') AS 'redirect from', CONCAT('[[User:', REPLACE(rd_title, '_', ' '), CASE WHEN rd_fragment = '' THEN '' ELSE CONCAT('#', REPLACE(rd_fragment, '_', ' ')) END, ']]') AS 'redirect to' FROM redirect JOIN page ON page_id = rd_from WHERE page_namespace = 4 AND rd_namespace = 2 AND rd_title NOT LIKE '%/%';
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...