Toggle navigation
Home
New Query
Recent Queries
Discuss
Database tables
Database names
MediaWiki
Wikibase
Replicas browser and optimizer
Login
History
Fork
Fork of
Ownerless user and user talk pages at hywiki
by
Xelgen
This query is marked as a draft
This query has been published
by
Xelgen
.
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
use hywiki_p; select id, ns, title, -- concat(if(ns = 2, "User", "User_talk"), ":", title) as full_title, content_model, len, is_redirect 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(regexp_replace(page_title, "/.*", ""), "_", " ") as user_name, page_is_redirect as is_redirect from page where page_namespace = 2 or page_namespace = 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...