From: Ilmari Karonen Date: Wed, 6 Dec 2006 06:58:50 +0000 (+0000) Subject: ...the previous line can also me moved inside the if block X-Git-Tag: 1.31.0-rc.0~54979 X-Git-Url: http://git.cyclocoop.org/%7B%24admin_url%7Dmembres/cotisations/gestion/rappel_supprimer.php?a=commitdiff_plain;h=21667dfead73aff0d6cc3d9164480af346eb3d0c;p=lhc%2Fweb%2Fwiklou.git ...the previous line can also me moved inside the if block --- diff --git a/includes/DifferenceEngine.php b/includes/DifferenceEngine.php index f66d06e62d..49efbf1725 100644 --- a/includes/DifferenceEngine.php +++ b/includes/DifferenceEngine.php @@ -97,11 +97,9 @@ CONTROL; return; } - $t = $this->mTitle->getPrefixedText() . " (Diff: {$this->mOldid}, " . - "{$this->mNewid})"; - $wgOut->setArticleFlag( false ); if ( ! $this->loadRevisionData() ) { + $t = $this->mTitle->getPrefixedText() . " (Diff: {$this->mOldid}, {$this->mNewid})"; $mtext = wfMsg( 'missingarticle', "$t" ); $wgOut->setPagetitle( wfMsg( 'errorpagetitle' ) ); $wgOut->addWikitext( $mtext );