"Duplicatebug" posted a comment on MediaWiki.r111180. URL: http://www.mediawiki.org/wiki/Special:Code/MediaWiki/111180#c32285
Commit summary for MediaWiki.r111180: Fix bug 12021 - Provide additional links on Special:Listusers Patch from John N. Duplicatebug's comment: Need LinkBatch. There is already a LinkBatch in UsersPager::getBody. The best is to move that code into method doBatchLookups and add the user talk page. <pre> function doBatchLookups() { $this->mResult->rewind(); $batch = new LinkBatch; 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(); } </pre> _______________________________________________ MediaWiki-CodeReview mailing list mediawiki-coderev...@lists.wikimedia.org https://lists.wikimedia.org/mailman/listinfo/mediawiki-codereview