Whoops, this was probably supposed to be an elseif.
authorDaniel Friesen <dantman@users.mediawiki.org>
Tue, 26 Aug 2008 14:38:25 +0000 (14:38 +0000)
committerDaniel Friesen <dantman@users.mediawiki.org>
Tue, 26 Aug 2008 14:38:25 +0000 (14:38 +0000)
includes/EditPage.php

index af1cb0a..b0ad281 100644 (file)
@@ -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 {