Last modified: 2012-02-09 22:13:38 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 )
Is this even still valid any more?