SQL
AخA
SELECT rd_title AS new,
log_timestamp,
source.page_title AS source,
(SELECT Count(pl_from)
FROM pagelinks
WHERE pl_title = source.page_title and pl_namespace = 2) as links
FROM redirect
JOIN page AS target
ON page_title = rd_title
AND page_namespace = rd_namespace
JOIN page AS source
ON source.page_id = rd_from
JOIN logging_logindex
ON log_title = source.page_title and log_type = 'move' and log_namespace = 2
WHERE rd_title LIKE "%/%.js"
AND rd_namespace = 2
and log_timestamp > 20180500000000
having links > 0
order by log_timestamp desc;
By running queries you agree to the Cloud Services Terms of Use and you irrevocably agree to release your SQL under CC0 License.
All SQL code is licensed under CC0 License.