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
SD0001
.
Toggle Highlighting
SQL
SELECT * FROM page JOIN page_restrictions ON page_id = pr_page AND pr_level = 'sysop' AND pr_type = 'edit' AND pr_expiry = 'infinity' JOIN logging ON page_id = log_page AND log_type = 'protect' -- JOIN comment ON log_comment_id = comment_id -- LEFT JOIN logging logging2 ON logging.log_page = logging2.log_page AND logging.log_timestamp < logging2.log_timestamp JOIN actor ON logging.log_actor = actor_id WHERE -- logging2.log_timestamp IS NULL -- AND page_namespace = 0 AND page_is_redirect = 1
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...