From: Brion Vibber Date: Thu, 30 Jun 2005 19:06:32 +0000 (+0000) Subject: * (bug 2630) Indicate no-longer-valid cached entries in BrokenRedirects list X-Git-Tag: 1.5.0beta2~113 X-Git-Url: http://git.cyclocoop.org/%22%20.%20generer_url_ecrire%28%22calendrier%22%2C%22type=semaine%22%29%20.%20%22?a=commitdiff_plain;h=bc77db4f7f0d6c36eef629737915e6c33e225e4d;p=lhc%2Fweb%2Fwiklou.git * (bug 2630) Indicate no-longer-valid cached entries in BrokenRedirects list --- 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' );