Query Run
SELECT CONCAT('[[Special:Diff/', r1.rev_id, ']]') AS diff, ... 5 years ago
SELECT CONCAT('[[Special:Diff/', r1.rev_id, ']]') AS diff, ... 5 years ago