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
.
For [[WP:REFUND#Portal_subpages]] circa 29 March 2019.
Toggle Highlighting
SQL
SELECT CASE WHEN log_title LIKE '%/%' THEN 'Y' ELSE 'N' END AS is_subpage, CONCAT('[[Portal:', log_title, ']]') AS pagename, DATE_FORMAT(log_timestamp, '%Y-%m-%d %H:%i:%s') AS timestamp, comment_text FROM logging_userindex JOIN comment ON comment_id = log_comment_id WHERE log_type = 'delete' AND log_action = 'delete' AND log_user = 327763 -- User:RL0919 AND log_namespace = 100 -- Portal: AND EXISTS (SELECT 1 FROM archive WHERE ar_namespace = 100 AND ar_title = log_title LIMIT 1) ORDER BY is_subpage ASC, log_timestamp ASC;
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...