r35845 MediaWiki - Code Review archive

Repository:MediaWiki
Revision:r35844‎ | r35845 | r35846 >
Date:04:05, 4 June 2008
Author:aaron
Status:old
Tags:
Comment:
Add oldid like r35829, except without random unrelated change
Modified paths:
  • /trunk/phase3/includes/DifferenceEngine.php (modified) (history)

Diff [purge]

Index: trunk/phase3/includes/DifferenceEngine.php
@@ -674,7 +674,7 @@
675675 $timestamp = $wgLang->timeanddate( $this->mNewRev->getTimestamp(), true );
676676 $this->mNewPage = $this->mNewRev->getTitle();
677677 if( $this->mNewRev->isCurrent() ) {
678 - $newLink = $this->mNewPage->escapeLocalUrl();
 678+ $newLink = $this->mNewPage->escapeLocalUrl( 'oldid=' . $this->mNewid );
679679 $this->mPagetitle = htmlspecialchars( wfMsg( 'currentrev' ) );
680680 $newEdit = $this->mNewPage->escapeLocalUrl( 'action=edit' );
681681

Past revisions this follows-up on

RevisionCommit summaryAuthorDate
r35829Make link to current not be misleading if the diff is outdated (also bug 14395)aaron23:51, 3 June 2008

Status & tagging log