Index: SpecialFewestrevisions.php =================================================================== --- SpecialFewestrevisions.php (revision 21849) +++ SpecialFewestrevisions.php (working copy) @@ -28,11 +28,12 @@ return "SELECT 'Fewestrevisions' as type, page_namespace as namespace, page_title as title, + page_is_redirect as redirect, COUNT(*) as value FROM $revision JOIN $page ON page_id = rev_page WHERE page_namespace = " . NS_MAIN . " - GROUP BY 1,2,3 + GROUP BY 1,2,3,4 HAVING COUNT(*) > 1"; } @@ -50,8 +51,8 @@ $nl = wfMsgExt( 'nrevisions', array( 'parsemag', 'escape'), $wgLang->formatNum( $result->value ) ); - $nlink = $skin->makeKnownLinkObj( $nt, $nl, 'action=history' ); - + $redirect = $result->redirect ? ' - ' . wfMsg( 'isredirect' ) : ''; + $nlink = $skin->makeKnownLinkObj( $nt, $nl, 'action=history' ) . $redirect; return wfSpecialList( $plink, $nlink ); } }