$multi = $this->getMultiNotice();
// Display a message when the diff is empty
if ( $body === '' ) {
- if ( $multi !== '' ) {
- $multi .= '<br />';
- }
- $multi .= $this->msg( 'diff-empty' )->parse();
+ $notice .= '<div class="mw-diff-empty">' . $this->msg( 'diff-empty' )->parse() . "</div>\n";
}
return $this->addHeader( $body, $otitle, $ntitle, $multi, $notice );
}
return false;
}
// Short-circuit
- // If mOldRev is false, it means that the
if ( $this->mOldRev === false || ( $this->mOldRev && $this->mNewRev
&& $this->mOldRev->getID() == $this->mNewRev->getID() ) )
{