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
Certes
.
Toggle Highlighting
SQL
SELECT log_title AS old_title, Pa.page_title AS new_title /* REGEXP_REPLACE(log_params, ".*::target\";s:\\d=+:\"([^\"]+)\";s:.*", "$1") */ FROM logging JOIN page Pa ON Pa.page_id=log_page JOIN page Pr ON Pr.page_title=log_title AND Pr.page_namespace=0 JOIN redirect ON rd_from=Pr.page_id AND rd_namespace=0 AND rd_title=Pa.page_title LEFT JOIN templatelinks ON tl_from=Pr.page_id AND tl_target_id=(SELECT lt_id FROM linktarget WHERE lt_namespace=10 AND lt_title="R_from_move") WHERE log_type="move" AND log_action="move" AND log_timestamp BETWEEN "20240101" AND "20250101" AND log_namespace=0 AND tl_from IS NULL
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...