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
Joe Roe
.
All undeleted pages in the article or draft namespace created between a give start and end timestamp.
Toggle Highlighting
SQL
SET @start_time = '20220101'; SET @end_time = '20220931'; SELECT page_id, page_namespace, rev_timestamp AS 'created_at', log_timestamp AS 'moved_at', log_params, comment_text FROM revision LEFT JOIN page ON rev_page = page_id LEFT OUTER JOIN logging ON log_page = page_id LEFT OUTER JOIN comment ON comment_id = log_comment_id WHERE page_namespace IN (0, 118) AND rev_parent_id = 0 AND rev_timestamp BETWEEN @start_time AND @end_time AND log_type IN ('move', 'move_redir') AND log_timestamp > rev_timestamp -- filter out logs prior to history merges
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...