previously it sometimes didn't due to caching.
* (bug 20388) ProfilerSimpleText no longer outputs comment on action=raw
* refreshLinks.php now purges orphaned redirect table rows
+* (bug 2971) Swap links of hist & diff location on Special:Contributions for
+ consistency with RC/WL
== API changes in 1.16 ==
}
# Is there a visible previous revision?
if( !$rev->isDeleted( Revision::DELETED_TEXT ) && $rev->getParentId() !== 0 ) {
- $difftext = $this->messages['pipe-separator'] . $sk->linkKnown(
+ $difftext = $sk->linkKnown(
$page,
$this->messages['diff'],
array(),
'diff' => 'prev',
'oldid' => $row->rev_id
)
- ) . ')';
+ );
} else {
- $difftext = $this->messages['pipe-separator'] . $this->messages['diff'] . ')';
+ $difftext = $this->messages['diff'];
}
- $histlink = '('.$sk->linkKnown(
+ $histlink = $sk->linkKnown(
$page,
$this->messages['hist'],
array(),
$del = '';
}
- $ret = "{$del}{$d} {$histlink}{$difftext} {$nflag}{$mflag} {$link}{$userlink} {$comment} {$topmarktext}";
+ $diffHistLinks = '(' . $difftext . $this->messages['pipe-separator'] . $histlink . ')';
+ $ret = "{$del}{$d} {$diffHistLinks} {$nflag}{$mflag} {$link}{$userlink} {$comment} {$topmarktext}";
# Denote if username is redacted for this edit
if( $rev->isDeleted( Revision::DELETED_USER ) ) {