Last modified: 2011-04-30 01:21:46 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 T24963, the corresponding Phabricator task for complete and up-to-date bug report information.
Bug 22963 - SpecialUserlogin.php should have additional hook(s)
SpecialUserlogin.php should have additional hook(s)
Status: RESOLVED DUPLICATE of bug 11734
Product: MediaWiki
Classification: Unclassified
User login and signup (Other open bugs)
1.15.x
All All
: Normal enhancement (vote)
: ---
Assigned To: Nobody - You can work on this!
:
Depends on:
Blocks:
  Show dependency treegraph
 
Reported: 2010-03-26 12:49 UTC by tim
Modified: 2011-04-30 01:21 UTC (History)
1 user (show)

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


Attachments

Description tim 2010-03-26 12:49:11 UTC
My wiki is using two extensions that don't play well together, but I believe this is a problem in the core software. I'm using
- LDAP Authentication Plugin
- New User Email Notification

It seems when both are enabled, the email isn't sent because the account is being created elsewhere. I fixed this on my wiki, but I'm wondering if hooks are missing from the core code.

In SpecialUserlogin.php...

	function initUser( $u, $autocreate ) {
		global $wgAuth;

		$u->addToDatabase();
                ... this is where I run "AddNewAccount" hooks.

... does it seem like AddNewAccount should be here by default?
Comment 1 Chad H. 2010-04-01 21:59:51 UTC

*** This bug has been marked as a duplicate of bug 11734 ***

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


Navigation
Links