API talk:Account creation/pre-1.27

This doesn't work. —The preceding unsigned comment was added by 87.248.169.40 (talk • contribs) 08:02, 18 September 2007‎


 * It hasn't been checked into the main tree yet. --Yurik 17:26, 18 September 2007 (UTC)

Is there a way to make this work in version 1.13? I tried with curl but did not work. —The preceding unsigned comment was added by 83.77.69.101 (talk • contribs) 10:16, 30 September 2009‎


 * It would be helpful, if they added it. Did Vodafone provided source code? I might add it to my wiki on my own --TakeruDavis 18:58, 4 June 2010 (UTC)

Why hasn't this been implemented? Is there an alternative to this functionality that's eluding me? —The preceding unsigned comment was added by 129.174.114.5 (talk • contribs) 15:15, 11 June 2012
 * I also attempted to get ApiCreateAccount.php to work, but it seems buggy. In particular, it has these lines:

addNewaccountInternal returns a bool or a User object, not a Status. See LoginForm Class Reference. Leucosticte (talk) 13:45, 25 September 2012 (UTC)
 * I really hope someone implements this soon, seeing that it's been a mere suggestion for over five years now. I'm writing an iPhone app that could use this API, but I know next to nothing about PHP so I wouldn't be able to implement it myself. —Montgolfière (talk) 22:58, 1 December 2012 (UTC)
 * Pending implementation, you can still create accounts using the Manual:parameters to index.php. See Chris G's botclasses' wikipedia::createaccount, for instance. Leucosticte (talk) 07:08, 2 December 2012 (UTC)

Captcha additions
work in progress


 * Normally, we want to prompt people for the captcha on the same screen as they input their name/password, not on a second request, so we need a preflight.
 * That's ok since we need one for the token anyway... but we have to do our preflight without the username/pass since they're not provided yet.
 * note that preflighting with a stub username works -- but might be better to let it be empty.

Captcha output params:

or

Send the "captchaid" and "captchaword" parameters back in with the request, along with the token, and it'll work.

In theory. ???


 * When is this going to be working? I've tried calling this API on the English Wikipedia, which is running MediaWiki 1.22wmf3, and the CAPTCHA portion of the API is not implemented. This makes it essentially useless, because right now it will abort the creation of your account, saying that it needs a correct "confirmation code". I'm currently writing an app that could make use of this API, and I would like to know when or if this will be functional soon. Thanks in advance. --Montgolfière (talk) 02:24, 14 May 2013 (UTC)

Brion's Patch to make this work with Captchas
See (now dormant?) patchset. Yuvipanda (talk) 22:27, 12 June 2013 (UTC)

Automatic Password not working
Hi,

I have been trying out the process of creating users using the API (Mediawiki 1.25.1). The user account creation works fine but when I use the "mailpassword" option the generated passwords do not seem to work. The emails are set correctly with the details but the passwords just do not work. The whole process works without an error but the generated passwords fail.

If I use a defined password, user creation is fine and the defined passwords work, but I can then not email the defined password to the new user because the new user still needs to confirm their email address.

Any suggestions welcome, thanks --Jpadfield (talk) 16:13, 10 August 2015 (UTC)