Index: trunk/phase3/maintenance/language/messages.inc |
— | — | @@ -425,6 +425,7 @@ |
426 | 426 | 'badretype', |
427 | 427 | 'userexists', |
428 | 428 | 'loginerror', |
| 429 | + 'createaccounterror', |
429 | 430 | 'nocookiesnew', |
430 | 431 | 'nocookieslogin', |
431 | 432 | 'noname', |
Index: trunk/phase3/includes/specials/SpecialCreateAccount.php |
— | — | @@ -316,7 +316,7 @@ |
317 | 317 | # Parse the error message if we got one |
318 | 318 | if( $msg ){ |
319 | 319 | if( $msgtype == 'error' ){ |
320 | | - $msg = wfMsgExt( 'loginerror', 'parseinline' ) . ' ' . $msg; |
| 320 | + $msg = wfMsgExt( 'createaccounterror', array( 'parseinline', 'replaceafter' ), $msg ); |
321 | 321 | } |
322 | 322 | $msg = Html::rawElement( |
323 | 323 | 'div', |
Index: trunk/phase3/languages/messages/MessagesEn.php |
— | — | @@ -1058,6 +1058,7 @@ |
1059 | 1059 | 'userexists' => 'Username entered already in use. |
1060 | 1060 | Please choose a different name.', |
1061 | 1061 | 'loginerror' => 'Login error', |
| 1062 | +'createaccounterror' => 'Could not create account: $1', |
1062 | 1063 | 'nocookiesnew' => 'The user account was created, but you are not logged in. |
1063 | 1064 | {{SITENAME}} uses cookies to log in users. |
1064 | 1065 | You have cookies disabled. |