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 page_namespace, page_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 LEFT JOIN page ON page_id = log_page WHERE log_id IN (SELECT MAX(log_id) FROM logging JOIN page_restrictions ON pr_id = log_page WHERE pr_type = 'move' AND pr_level = 'sysop' AND log_type = 'protect' AND log_action != 'unprotect' GROUP BY log_page);
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...