r35689 MediaWiki - Code Review archive

Repository:MediaWiki
Revision:r35688‎ | r35689 | r35690 >
Date:23:47, 1 June 2008
Author:dantman
Status:old
Tags:
Comment:
showDiff needs headers as parameters, even though they aren't needed here. Just give it two empty strings to avoid a PHP error.
Modified paths:
  • /trunk/phase3/includes/Article.php (modified) (history)

Diff [purge]

Index: trunk/phase3/includes/Article.php
@@ -2612,7 +2612,7 @@
26132613 $wgOut->addHtml( wfMsgExt( 'rollback-success', array( 'parse', 'replaceafter' ), $old, $new ) );
26142614 $wgOut->returnToMain( false, $this->mTitle );
26152615 $de = new DifferenceEngine( $this->mTitle, $current->getId(), 'next', false, true );
2616 - $de->showDiff();
 2616+ $de->showDiff( '', '' );
26172617 }
26182618
26192619

Status & tagging log