* (bug 13281) Treat X-Forwarded-For, Client-ip and User-Agent headers as
case-insensitive names.
* Adding the fix for lists in RTL wikis to more skins, and fixing the image toc
+* (bug 8157) Remove redirects from Special:Unusedtemplates. Patch by WebBoy.
=== API changes in 1.13 ===
FROM $page
LEFT JOIN $templatelinks
ON page_namespace = tl_namespace AND page_title = tl_title
- WHERE page_namespace = 10 AND tl_from IS NULL";
+ WHERE page_namespace = 10 AND tl_from IS NULL
+ AND page_is_redirect = 0";
return $sql;
}