Last modified: 2012-02-09 22:13:38 UTC

Wikimedia Bugzilla is closed!

Wikimedia has migrated from Bugzilla to Phabricator. Bug reports should be created and updated in Wikimedia Phabricator instead. Please create an account in Phabricator and add your Bugzilla email address to it.
Wikimedia Bugzilla is read-only. If you try to edit or create any bug report in Bugzilla you will be shown an intentional error message.
In order to access the Phabricator task corresponding to a Bugzilla report, just remove "static-" from its URL.
You could still run searches in Bugzilla or access your list of votes but bug reports will obviously not be up-to-date in Bugzilla.
Bug 3277 - When using LdapAuthentication extentions, ss_users in site_stat won
When using LdapAuthentication extentions, ss_users in site_stat won
Product: MediaWiki
Classification: Unclassified
User login and signup (Other open bugs)
All All
: Low normal (vote)
: ---
Assigned To: Nobody - You can work on this!
: testme
Depends on:
  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: ---


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 );
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.