Last modified: 2012-08-01 15:46:15 UTC
These notices are coming up on Special:GlobalUsers for each user shown: Notice: Undefined property: stdClass::$user_name in /path/to/mediawiki/includes/specials/SpecialListusers.php on line 193 Notice: Undefined property: stdClass::$user_name in /path/to/mediawiki/includes/specials/SpecialListusers.php on line 194 Roan Kattouw provided a backtrace: http://pastebin.com/xr2fYAAp He also said that while the notice itself occurs in core, he's pretty sure GlobalUsersPager is causing it by not selecting the user_name column or something.
It'd be gu_name from CA tables, not user_name Where is this being seen? function doBatchLookups() { $batch = new LinkBatch(); # Give some pointers to make user links foreach ( $this->mResult as $row ) { $batch->add( NS_USER, $row->user_name ); $batch->add( NS_USER_TALK, $row->user_name ); } $batch->execute(); $this->mResult->rewind(); } Probably needs/wantings $row->user_name swapping for $row->gu_user (duplicate the code in the GlobalUsersPager, and replace to fix), or variablise the value of the username ( $this->userField = 'gu_name'; in the constructor then use $row->{$this->userField}, or some such abomination)
I was about to upload this fix to Gerrit for review, but it seems Szymon Świerkosz already did: Gerrit change #6911
(In reply to comment #2) > I was about to upload this fix to Gerrit for review, but it seems Szymon > Świerkosz already did: Gerrit change #6911 Great minds think alike ;) Submitted