Index: trunk/phase3/includes/SpecialUnusedtemplates.php |
— | — | @@ -22,7 +22,8 @@ |
23 | 23 | FROM $page |
24 | 24 | LEFT JOIN $templatelinks |
25 | 25 | ON page_namespace = tl_namespace AND page_title = tl_title |
26 | | - WHERE page_namespace = 10 AND tl_from IS NULL"; |
| 26 | + WHERE page_namespace = 10 AND tl_from IS NULL |
| 27 | + AND page_is_redirect = 0"; |
27 | 28 | return $sql; |
28 | 29 | } |
29 | 30 | |
Index: trunk/phase3/RELEASE-NOTES |
— | — | @@ -80,6 +80,7 @@ |
81 | 81 | * (bug 13281) Treat X-Forwarded-For, Client-ip and User-Agent headers as |
82 | 82 | case-insensitive names. |
83 | 83 | * Adding the fix for lists in RTL wikis to more skins, and fixing the image toc |
| 84 | +* (bug 8157) Remove redirects from Special:Unusedtemplates. Patch by WebBoy. |
84 | 85 | |
85 | 86 | === API changes in 1.13 === |
86 | 87 | |