From 39a2d2d42c9c0332a7acf8df32fbad18be9bd135 Mon Sep 17 00:00:00 2001 From: Sean Colombo Date: Mon, 19 Sep 2011 20:50:08 +0000 Subject: [PATCH] Merged in change from Wikia which prevents an E_NOTICE on Special:FewestRevisions page. --- includes/specials/SpecialFewestrevisions.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/includes/specials/SpecialFewestrevisions.php b/includes/specials/SpecialFewestrevisions.php index 6d621a2e64..454e72cf02 100644 --- a/includes/specials/SpecialFewestrevisions.php +++ b/includes/specials/SpecialFewestrevisions.php @@ -86,7 +86,7 @@ class FewestrevisionsPage extends QueryPage { $nl = wfMsgExt( 'nrevisions', array( 'parsemag', 'escape' ), $wgLang->formatNum( $result->value ) ); - $redirect = $result->redirect ? ' - ' . wfMsgHtml( 'isredirect' ) : ''; + $redirect = isset($result->redirect) ? ' - ' . wfMsgHtml( 'isredirect' ) : ''; $nlink = $skin->linkKnown( $nt, $nl, -- 2.20.1