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
Erutuon
.
User and user talk pages and subpages where the base page name doesn't look like an IP address and isn't a username.
Toggle Highlighting
SQL
select id, ns, title, -- concat(if(ns = 2, "User", "User_talk"), ":", title) as full_title, content_model, len, rd_namespace as redirect_target_namespace, rd_title as redirect_target_title from (select page_id as id, page_namespace as ns, page_title as title, page_content_model as content_model, page_len as len, replace(substring_index(page_title, "/", 1), "_", " ") as user_name, rd_namespace, rd_title from page left join redirect on rd_from = page_id where page_namespace in (2, 3) ) as user_subpage where user_name not rlike '^[0-9]{1,3}[.][0-9]{1,3}[.][0-9]{1,3}[.][0-9]{1,3}$' and user_name not rlike '(^([0-9]{1,3}[.]){3}[0-9]{1,3}$|^([[:alnum:]]{1,4}[:]){7})' and not exists (select 1 from user where user.user_name = user_subpage.user_name limit 1);
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...