Index: trunk/phase3/includes/SpecialBrokenRedirects.php |
— | — | @@ -35,7 +35,8 @@ |
36 | 36 | FROM $redirect AS rd |
37 | 37 | JOIN $page p1 ON (rd.rd_from=p1.page_id) |
38 | 38 | LEFT JOIN $page AS p2 ON (rd_namespace=p2.page_namespace AND rd_title=p2.page_title ) |
39 | | - WHERE p2.page_namespace IS NULL"; |
| 39 | + WHERE rd_namespace >= 0 |
| 40 | + AND p2.page_namespace IS NULL"; |
40 | 41 | return $sql; |
41 | 42 | } |
42 | 43 | |
Index: trunk/phase3/RELEASE-NOTES |
— | — | @@ -386,6 +386,7 @@ |
387 | 387 | * Fix syntax error in translations of magic words in Romanian language |
388 | 388 | * (bug 8737) Fix warnings caused by incorrect use of `/dev/null` when piping |
389 | 389 | process error output under Windows |
| 390 | +* (bug 7890) Don't list redirects to special pages in Special:BrokenRedirects |
390 | 391 | |
391 | 392 | == API changes since 1.10 == |
392 | 393 | |