dépôts
/
lhc
/
web
/
wiklou.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
41f4f12
)
Revert self - diff links gives nice perma-link
author
Aaron Schulz
<aaron@users.mediawiki.org>
Fri, 11 Apr 2008 18:27:21 +0000
(18:27 +0000)
committer
Aaron Schulz
<aaron@users.mediawiki.org>
Fri, 11 Apr 2008 18:27:21 +0000
(18:27 +0000)
includes/SpecialContributions.php
patch
|
blob
|
history
diff --git
a/includes/SpecialContributions.php
b/includes/SpecialContributions.php
index
a307df1
..
a737b9c
100644
(file)
--- 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'] . ')';