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 deletions in the Portal and Portal talk namespaces labeled either P1 or P2. For [[WT:CSD#Proposal: Deprecate P1 and P2]] circa 21 Aug 2020.
Toggle Highlighting
SQL
SELECT DATE_FORMAT(log_timestamp, '%Y-%m-%d %H:%i:%s') AS timestamp, CONCAT(CASE log_namespace WHEN 100 THEN 'Portal:' WHEN 101 THEN 'Portal talk:' END, log_title) AS pagename, actor_name, comment_text FROM logging_logindex JOIN comment_logging ON comment_id = log_comment_id JOIN actor_logging ON actor_id = log_actor WHERE log_type = 'delete' AND log_action = 'delete' AND log_namespace IN (100, 101) AND comment_text RLIKE '\\bP[12]\\b' ORDER BY log_id 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...