r24132 MediaWiki - Code Review archive

Repository:MediaWiki
Revision:r24131‎ | r24132 | r24133 >
Date:21:21, 15 July 2007
Author:aaron
Status:old
Tags:
Comment:
*Some bug fixes
Modified paths:
  • /trunk/extensions/ConfirmAccount/ConfirmAccount_body.php (modified) (history)

Diff [purge]

Index: trunk/extensions/ConfirmAccount/ConfirmAccount_body.php
@@ -413,6 +413,7 @@
414414 $this->showForm( wfMsgHtml('userexists') );
415415 return;
416416 }
 417+ $user = User::createNew( $name );
417418 # Make a random password
418419 $pass = User::randomPassword();
419420 # VERY important to set email now. Otherwise user will have to request
@@ -449,7 +450,7 @@
450451 # Start up the user's brand new userpage
451452 if( $wgMakeUserPageFromBio ) {
452453 $userpage = new Article( $user->getUserPage() );
453 - $userpage->doEdit( $row->acr_bio, wfMsg('confirmaccount-summary'), EDIT_NEW );
 454+ $userpage->doEdit( $row->acr_bio, wfMsg('confirmaccount-summary'), EDIT_MINOR );
454455 }
455456
456457 $this->showSuccess( $action, $user->getName() );

Status & tagging log