From b8a4079b6265c601c36a5ff9223e1c59cbfc0373 Mon Sep 17 00:00:00 2001 From: Aaron Schulz Date: Fri, 11 Apr 2008 18:27:21 +0000 Subject: [PATCH] Revert self - diff links gives nice perma-link --- includes/SpecialContributions.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/includes/SpecialContributions.php b/includes/SpecialContributions.php index a307df138b..a737b9cfca 100644 --- a/includes/SpecialContributions.php +++ b/includes/SpecialContributions.php @@ -148,7 +148,7 @@ class ContribsPager extends ReverseChronologicalPager { } # Is there a visable previous revision? - if( $rev->userCan(Revision::DELETED_TEXT) && $rev->getParentId() !== 0 ) { + if( $rev->userCan(Revision::DELETED_TEXT) ) { $difftext = '(' . $sk->makeKnownLinkObj( $page, $this->messages['diff'], 'diff=prev&oldid='.$row->rev_id ) . ')'; } else { $difftext = '(' . $this->messages['diff'] . ')'; -- 2.20.1