On 9/11/07, Andrew Garrett andrew@epstone.net wrote:
Hmm.. They don't really lend themselves well to checking whether they've already been run, and it's a fairly slow query that's being run (including a LEFT JOIN)...
How about SELECT 1 FROM page_links WHERE pl_namespace=0 AND pl_title='' LIMIT 1? A heuristic, technically, but a sufficiently accurate one to avoid most problems, I hope. Completely breaking two special pages is not, I think, a valid alternative.