r40021 MediaWiki - Code Review archive

Repository:MediaWiki
Revision:r40020‎ | r40021 | r40022 >
Date:14:38, 26 August 2008
Author:dantman
Status:old
Tags:
Comment:
Whoops, this was probably supposed to be an elseif.
Modified paths:
  • /trunk/phase3/includes/EditPage.php (modified) (history)

Diff [purge]

Index: trunk/phase3/includes/EditPage.php
@@ -1070,8 +1070,7 @@
10711071 }
10721072 if ( $this->isConflict ) {
10731073 $wgOut->setPageTitle( wfMsg( 'editconflict', $wgTitle->getPrefixedText() ) );
1074 - }
1075 - if( $this->section != '' ) {
 1074+ } elseif( $this->section != '' ) {
10761075 $msg = $this->section == 'new' ? 'editingcomment' : 'editingsection';
10771076 $wgOut->setPageTitle( wfMsg( $msg, $wgTitle->getPrefixedText() ) );
10781077 } else {

Status & tagging log