r65405 MediaWiki - Code Review archive

Repository:MediaWiki
Revision:r65404‎ | r65405 | r65406 >
Date:17:33, 21 April 2010
Author:platonides
Status:ok
Tags:
Comment:
(bug 16487) Do not display the fake Anonymous user account used by Postgres on Special:Listusers. It will surely still produce strange results on many more places, though.
Modified paths:
  • /trunk/phase3/RELEASE-NOTES (modified) (history)
  • /trunk/phase3/includes/specials/SpecialListusers.php (modified) (history)

Diff [purge]

Index: trunk/phase3/includes/specials/SpecialListusers.php
@@ -120,6 +120,9 @@
121121 function formatRow( $row ) {
122122 global $wgLang;
123123
 124+ if ($row->user_id == 0) #Bug 16487
 125+ return '';
 126+
124127 $userPage = Title::makeTitle( NS_USER, $row->user_name );
125128 $name = $this->getSkin()->link( $userPage, htmlspecialchars( $userPage->getText() ) );
126129
Index: trunk/phase3/RELEASE-NOTES
@@ -121,6 +121,8 @@
122122 * (bug 23080) New usernames now limited to 235 bytes so that custom skin files
123123 work.
124124 * (bug 23075) Correct MediaTransformError default width in gallery.
 125+* (bug 16487) The Anonymous user account used on Postgres is no longer
 126+ displayed on Special:Listusers.
125127
126128 === API changes in 1.17 ===
127129 * (bug 22738) Allow filtering by action type on query=logevent

Status & tagging log