Index: trunk/phase3/includes/DifferenceEngine.php |
— | — | @@ -206,12 +206,8 @@ |
207 | 207 | |
208 | 208 | $prevlink = $sk->makeKnownLinkObj( $this->mTitle, wfMsgHtml( 'previousdiff' ), |
209 | 209 | 'diff=prev&oldid='.$this->mOldid, '', '', 'id="differences-prevlink"' ); |
210 | | - if ( $this->mNewRev->isCurrent() ) { |
211 | | - $nextlink = ' '; |
212 | | - } else { |
213 | | - $nextlink = $sk->makeKnownLinkObj( $this->mTitle, wfMsgHtml( 'nextdiff' ), |
214 | | - 'diff=next&oldid='.$this->mNewid, '', '', 'id="differences-nextlink"' ); |
215 | | - } |
| 210 | + $nextlink = $sk->makeKnownLinkObj( $this->mTitle, wfMsgHtml( 'nextdiff' ), |
| 211 | + 'diff=next&oldid='.$this->mNewid, '', '', 'id="differences-nextlink"' ); |
216 | 212 | |
217 | 213 | $oldminor = ''; |
218 | 214 | $newminor = ''; |
— | — | @@ -674,7 +670,7 @@ |
675 | 671 | $timestamp = $wgLang->timeanddate( $this->mNewRev->getTimestamp(), true ); |
676 | 672 | $this->mNewPage = $this->mNewRev->getTitle(); |
677 | 673 | if( $this->mNewRev->isCurrent() ) { |
678 | | - $newLink = $this->mNewPage->escapeLocalUrl(); |
| 674 | + $newLink = $this->mNewPage->escapeLocalUrl( 'oldid=' . $this->mNewid ); |
679 | 675 | $this->mPagetitle = htmlspecialchars( wfMsg( 'currentrev' ) ); |
680 | 676 | $newEdit = $this->mNewPage->escapeLocalUrl( 'action=edit' ); |
681 | 677 | |