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
.
pr_id is not the column I was looking for.
Toggle Highlighting
SQL
SELECT log_namespace, log_title, log_timestamp, actor_name, log_action, comment_text FROM logging LEFT JOIN actor_logging ON actor_id = log_actor LEFT JOIN comment_logging ON comment_id = log_comment_id WHERE log_id IN (SELECT MAX(log_id) FROM page JOIN page_restrictions ON pr_id = page_id JOIN logging ON log_title = page_title AND log_namespace = page_namespace WHERE pr_type = 'move' AND pr_level = 'sysop' AND log_type = 'protect' AND log_action != 'unprotect' GROUP BY log_namespace, log_title);
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...