Add oldid like r35829, except without random unrelated change
authorAaron Schulz <aaron@users.mediawiki.org>
Wed, 4 Jun 2008 04:05:47 +0000 (04:05 +0000)
committerAaron Schulz <aaron@users.mediawiki.org>
Wed, 4 Jun 2008 04:05:47 +0000 (04:05 +0000)
includes/DifferenceEngine.php

index e74e4c7..02a978e 100644 (file)
@@ -674,7 +674,7 @@ CONTROL;
                $timestamp = $wgLang->timeanddate( $this->mNewRev->getTimestamp(), true );
                $this->mNewPage = $this->mNewRev->getTitle();
                if( $this->mNewRev->isCurrent() ) {
-                       $newLink = $this->mNewPage->escapeLocalUrl();
+                       $newLink = $this->mNewPage->escapeLocalUrl( 'oldid=' . $this->mNewid );
                        $this->mPagetitle = htmlspecialchars( wfMsg( 'currentrev' ) );
                        $newEdit = $this->mNewPage->escapeLocalUrl( 'action=edit' );