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
.
Cross-namespace redirects from the main namespace to Wikipedia:, excluding the very common shortcut prefixes MOS:, MoS:, Mos:, P:, and H: (even though the latter two should be pointing into Portal: and Help:, but whatever). A few other isolated shortcuts remain. For [[Wikipedia:Redirects for discussion/Log/2023 October 29#Wiki:stub]].
Toggle Highlighting
SQL
SELECT page_title, CONCAT('WP:', rd_title) AS redirect_to FROM redirect JOIN page ON page_id = rd_from WHERE page_namespace = 0 AND rd_namespace = 4 AND page_title NOT LIKE 'MOS:%' AND page_title NOT LIKE 'MoS:%' AND page_title NOT LIKE 'Mos:%' AND page_title NOT LIKE 'P:%' AND page_title NOT LIKE 'H:%' ORDER BY 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...