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
.
All portal subpages that have at least one deleted revision, where the base portal page exists. For [[Wikipedia talk:WikiProject Portals#Identifying old-style portals]] circa 11 April 2019.
Toggle Highlighting
SQL
SELECT DISTINCT CONCAT('[[Portal:', page_title, ']]') AS 'Existing base pagename', CONCAT('[[Portal:', ar_title, ']]') AS 'Deleted pagename', page_is_redirect FROM archive JOIN page ON page_namespace = 100 -- Portal: AND page_title = REGEXP_REPLACE(ar_title, '/.*', '') WHERE ar_namespace = 100 AND ar_title 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...