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 logged deletions and restorations of userspace subpages of IPs. For [[WT:CSD#Clarification on U2 for IP subpages]] circa 15 October 2022.
Toggle Highlighting
SQL
SELECT CAST(log_timestamp AS DATETIME) AS time_stamp, log_action, actor_name, CONCAT('User:', REPLACE(log_title, '_', ' ')) AS page_name, comment_text FROM logging_logindex JOIN actor_logging ON actor_id = log_actor JOIN comment_logging ON comment_id = log_comment_id WHERE log_namespace = 2 AND log_title LIKE '%/%' AND (IS_IPV4(SUBSTRING_INDEX(log_title,'/',1)) OR IS_IPV6(SUBSTRING_INDEX(log_title,'/',1))) AND log_type = 'delete' AND log_action IN ('delete', 'restore') ORDER BY log_timestamp DESC;
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...