From bc77db4f7f0d6c36eef629737915e6c33e225e4d Mon Sep 17 00:00:00 2001 From: Brion Vibber Date: Thu, 30 Jun 2005 19:06:32 +0000 Subject: [PATCH] * (bug 2630) Indicate no-longer-valid cached entries in BrokenRedirects list --- RELEASE-NOTES | 2 ++ includes/SpecialBrokenRedirects.php | 4 ++-- 2 files changed, 4 insertions(+), 2 deletions(-) diff --git a/RELEASE-NOTES b/RELEASE-NOTES index 5f7773e313..7325501bc8 100644 --- a/RELEASE-NOTES +++ b/RELEASE-NOTES @@ -434,6 +434,8 @@ Various bugfixes, small features, and a few experimental things: * Copy fix for old search URLs with Lucene search plugin from REL1_4 * (bug 619) Don't use incompatible diff3 executable on non-Linux systems. * (bug 2631) Fix Hebrew namespaces. +* (bug 2630) Indicate no-longer-valid cached entries in BrokenRedirects list + === Caveats === diff --git a/includes/SpecialBrokenRedirects.php b/includes/SpecialBrokenRedirects.php index baa8195670..41011209da 100644 --- a/includes/SpecialBrokenRedirects.php +++ b/includes/SpecialBrokenRedirects.php @@ -65,8 +65,8 @@ class BrokenRedirectsPage extends PageQueryPage { } // $toObj may very easily be false if the $result list is cached - if ( !is_object( $toObj ) || !is_object( $fromObj ) ) { - return ''; + if ( !is_object( $toObj ) ) { + return '' . $skin->makeLinkObj( $fromObj ) . ''; } $from = $skin->makeKnownLinkObj( $fromObj ,'', 'redirect=no' ); -- 2.20.1