summaryrefslogtreecommitdiff
path: root/includes/SpecialBrokenRedirects.php
diff options
context:
space:
mode:
Diffstat (limited to 'includes/SpecialBrokenRedirects.php')
-rw-r--r--includes/SpecialBrokenRedirects.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/includes/SpecialBrokenRedirects.php b/includes/SpecialBrokenRedirects.php
index 1fb48350..f6887741 100644
--- a/includes/SpecialBrokenRedirects.php
+++ b/includes/SpecialBrokenRedirects.php
@@ -51,7 +51,7 @@ class BrokenRedirectsPage extends PageQueryPage {
if ( isset( $result->rd_title ) ) {
$toObj = Title::makeTitle( $result->rd_namespace, $result->rd_title );
} else {
- $blinks = $fromObj->getBrokenLinksFrom();
+ $blinks = $fromObj->getBrokenLinksFrom(); # TODO: check for redirect, not for links
if ( $blinks ) {
$toObj = $blinks[0];
} else {