On Tue, Jul 22, 2008 at 7:05 PM, Ilmari Karonen nospam@vyznev.net wrote:
Well, Special:RecentChanges already uses a similar trick (grep for "($sqlNew) UNION ($sqlOld)"), so I assumed it works. Haven't actually tested it on MySQL 4, though.
Yes, you're right. I recall something similar being reverted for not working on MySQL 4, but that may have had an extra set of parentheses or something. Obviously this works if it's been in RC for months. (Why doesn't WhatLinksHere do it, I wonder? It would clean up the code a lot.)