From: Daniel Friesen Date: Tue, 26 Aug 2008 14:38:25 +0000 (+0000) Subject: Whoops, this was probably supposed to be an elseif. X-Git-Tag: 1.31.0-rc.0~45655 X-Git-Url: https://git.cyclocoop.org/%242?a=commitdiff_plain;h=f3f5b485599a15c04b555a73e5835a2fb0e09ac2;p=lhc%2Fweb%2Fwiklou.git Whoops, this was probably supposed to be an elseif. --- diff --git a/includes/EditPage.php b/includes/EditPage.php index af1cb0aae5..b0ad2811e3 100644 --- a/includes/EditPage.php +++ b/includes/EditPage.php @@ -1070,8 +1070,7 @@ class EditPage { } if ( $this->isConflict ) { $wgOut->setPageTitle( wfMsg( 'editconflict', $wgTitle->getPrefixedText() ) ); - } - if( $this->section != '' ) { + } elseif( $this->section != '' ) { $msg = $this->section == 'new' ? 'editingcomment' : 'editingsection'; $wgOut->setPageTitle( wfMsg( $msg, $wgTitle->getPrefixedText() ) ); } else {