Last modified: 2009-05-20 13:51:27 UTC

Wikimedia Bugzilla is closed!

Wikimedia migrated from Bugzilla to Phabricator. Bug reports are handled in Wikimedia Phabricator.
This static website is read-only and for historical purposes. It is not possible to log in and except for displaying bug reports and their history, links might be broken. See T14417, the corresponding Phabricator task for complete and up-to-date bug report information.
Bug 12417 - Create accounts by email vs. $wgEnableEmail
Create accounts by email vs. $wgEnableEmail
Status: RESOLVED WORKSFORME
Product: MediaWiki
Classification: Unclassified
User login and signup (Other open bugs)
1.16.x
All All
: Low enhancement (vote)
: ---
Assigned To: Nobody - You can work on this!
:
Depends on:
Blocks:
  Show dependency treegraph
 
Reported: 2007-12-26 02:11 UTC by Dan Jacobson
Modified: 2009-05-20 13:51 UTC (History)
0 users

See Also:
Web browser: ---
Mobile Platform: ---
Assignee Huggle Beta Tester: ---


Attachments

Description Dan Jacobson 2007-12-26 02:11:21 UTC
http://www.mediawiki.org/wiki/Manual:Preventing_access#Restrict_account_creation says
New users will still be able to be created by sysops, in the following manner:
   1. Go to [[Special:Userlogin]], when logged in as a sysop.
   2. Click on "Create an account" to get to the account creation form.
   3. Enter a username and an email address, and click the "by email" button.
   4. The account will be created with a random password which is then emailed to the given address.

But that won't work if $wgEnableEmail=false, there will be no such button.

One either has to open up their wiki to $wgEnableEmail=true and all
that it implies, or forget about being able to use the above steps.

$wgHooks['UserCreateForm'], $wgHooks['addNewAccount'] scope is not high
enough to remedy the situation either.

So at least the sysop can create new accounts, but he has no way via
the web interface of changing a password once forgotten -- he never
did (there was only the email 'send a new password facility'.)
Now he can only use changePassword.php via the shell.
Comment 1 Brion Vibber 2007-12-28 01:07:09 UTC
http://www.mediawiki.org/wiki/Extension:Password_Reset sounds like it'll cover you here.
Comment 2 Dan Jacobson 2009-05-20 13:51:27 UTC
Manual now says: Note need $wgEnableEmail=true$ or else the sysop must pick a password and send it to the user.

Note You need to log in before you can comment on or make changes to this bug.


Navigation
Links