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
Perhelion
.
https://wikitech.wikimedia.org/wiki/Help:MySQL_queries#Ownerless_pages_in_the_user_space
Toggle Highlighting
SQL
USE commonswiki_p; SELECT page_namespace, page_title, page_len FROM page LEFT JOIN `user` ON user_name = REPLACE(page_title, '_', ' ') WHERE page_namespace IN (2,3) AND page_is_redirect = 0 AND page_title NOT LIKE "%/%" AND page_title NOT RLIKE "(25[0-5]|2[0-4][0-9]|[01]?[0-9][0-9]?)\.(25[0-5]|2[0-4][0-9]|[01]?[0-9][0-9]?)\.(25[0-5]|2[0-4][0-9]|[01]?[0-9][0-9]?)\.(25[0-5]|2[0-4][0-9]|[01]?[0-9][0-9]?)" AND user_name IS NULL;
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...