r91348 MediaWiki - Code Review archive

Repository:MediaWiki
Revision:r91347‎ | r91348 | r91349 >
Date:09:12, 2 July 2011
Author:aaron
Status:ok
Tags:
Comment:
Removed some dead code (useless since r87806)
Modified paths:
  • /trunk/phase3/includes/diff/DifferenceEngine.php (modified) (history)

Diff [purge]

Index: trunk/phase3/includes/diff/DifferenceEngine.php
@@ -222,12 +222,10 @@
223223 $wgOut->setArticleFlag( false );
224224 if ( !$this->loadRevisionData() ) {
225225 // Sounds like a deleted revision... Let's see what we can do.
226 - $deletedLink = $this->deletedLink( $this->mNewid );
227 -
228226 $t = $this->mTitle->getPrefixedText();
229227 $d = wfMsgExt( 'missingarticle-diff', array( 'escape' ),
230 - $this->deletedIdMarker( $this->mOldid ),
231 - $this->deletedIdMarker( $this->mNewid ) );
 228+ $this->deletedIdMarker( $this->mOldid ),
 229+ $this->deletedIdMarker( $this->mNewid ) );
232230 $wgOut->setPagetitle( wfMsg( 'errorpagetitle' ) );
233231 $wgOut->addWikiMsg( 'missing-article', "<nowiki>$t</nowiki>", "<span class='plainlinks'>$d</span>" );
234232 wfProfileOut( __METHOD__ );

Past revisions this follows-up on

RevisionCommit summaryAuthorDate
r87806* (bug 21279, bug 28820) Workaround for standard diff links to deleted revs; ...brion01:17, 10 May 2011

Status & tagging log