Index: trunk/extensions/ConfirmAccount/ConfirmAccount_body.php |
— | — | @@ -413,6 +413,7 @@ |
414 | 414 | $this->showForm( wfMsgHtml('userexists') );
|
415 | 415 | return;
|
416 | 416 | }
|
| 417 | + $user = User::createNew( $name );
|
417 | 418 | # Make a random password
|
418 | 419 | $pass = User::randomPassword();
|
419 | 420 | # VERY important to set email now. Otherwise user will have to request
|
— | — | @@ -449,7 +450,7 @@ |
450 | 451 | # Start up the user's brand new userpage
|
451 | 452 | if( $wgMakeUserPageFromBio ) {
|
452 | 453 | $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 );
|
454 | 455 | }
|
455 | 456 |
|
456 | 457 | $this->showSuccess( $action, $user->getName() );
|