Last modified: 2012-02-09 22:13:38 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 T5277, the corresponding Phabricator task for complete and up-to-date bug report information.
Bug 3277 - When using LdapAuthentication extentions, ss_users in site_stat won
When using LdapAuthentication extentions, ss_users in site_stat won
Status: RESOLVED INVALID
Product: MediaWiki
Classification: Unclassified
User login and signup (Other open bugs)
1.5.x
All All
: Low normal (vote)
: ---
Assigned To: Nobody - You can work on this!
: testme
Depends on:
Blocks:
  Show dependency treegraph
 
Reported: 2005-08-26 09:07 UTC by Opera Wang
Modified: 2012-02-09 22:13 UTC (History)
1 user (show)

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


Attachments

Description Opera Wang 2005-08-26 09:07:37 UTC
 
Comment 1 Opera Wang 2005-08-26 09:12:17 UTC
When using LdapAuthentication extentions, ss_users in site_stat won't updated:
in SpecialUserlogin.php:
			if ( $wgAuth->autoCreate() && $wgAuth->userExists( $u->getName() ) ) {
				if ( $wgAuth->authenticate( $u->getName(), $this->mPassword ) ) {
					$u =& $this->initUser( $u );
so the SiteStatsUpdate function won't get called.

Suggest moving these lines in /includes/SpecialUserlogin.php :
		# Update user count
		$ssUpdate = new SiteStatsUpdate( 0, 0, 0, 0, 1 );
		$ssUpdate->doUpdate();
to function &initUser( &$u )
Comment 2 Sam Reed (reedy) 2010-07-29 18:25:43 UTC
Is this even still valid any more?

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


Navigation
Links