r23794 MediaWiki - Code Review archive

Repository:MediaWiki
Revision:r23793‎ | r23794 | r23795 >
Date:16:44, 6 July 2007
Author:robchurch
Status:old
Tags:
Comment:
Coding conventions - spacing
Modified paths:
  • /trunk/phase3/includes/Article.php (modified) (history)

Diff [purge]

Index: trunk/phase3/includes/Article.php
@@ -2263,9 +2263,9 @@
22642264 $wgOut->addHTML( '<h2>' . htmlspecialchars( $newComment ) . "</h2>\n<hr />\n" );
22652265
22662266 $flags = EDIT_UPDATE | EDIT_MINOR;
2267 - if($bot)
 2267+ if( $bot )
22682268 $flags |= EDIT_FORCE_BOT;
2269 - if(!$this->doEdit( $target->getText(), $newComment, $flags))
 2269+ if( !$this->doEdit( $target->getText(), $newComment, $flags ) )
22702270 ; # todo: this error case has not been handled? Use db transactions?
22712271
22722272 $wgOut->returnToMain( false );

Follow-up revisions

RevisionCommit summaryAuthorDate
r23912Merged revisions 23662-23909 via svnmerge from...david18:11, 9 July 2007

Status & tagging log