(bug 16487) Do not display the fake Anonymous user account used by Postgres on Specia...
authorPlatonides <platonides@users.mediawiki.org>
Wed, 21 Apr 2010 17:33:17 +0000 (17:33 +0000)
committerPlatonides <platonides@users.mediawiki.org>
Wed, 21 Apr 2010 17:33:17 +0000 (17:33 +0000)
RELEASE-NOTES
includes/specials/SpecialListusers.php

index 6803516..cb66545 100644 (file)
@@ -121,6 +121,8 @@ in a negative namespace (which is invalid).
 * (bug 23080) New usernames now limited to 235 bytes so that custom skin files
   work.
 * (bug 23075) Correct MediaTransformError default width in gallery.
+* (bug 16487) The Anonymous user account used on Postgres is no longer 
+  displayed on Special:Listusers.
 
 === API changes in 1.17 ===
 * (bug 22738) Allow filtering by action type on query=logevent
index bdb5998..0ccd44b 100644 (file)
@@ -120,6 +120,9 @@ class UsersPager extends AlphabeticPager {
        function formatRow( $row ) {
                global $wgLang;
 
+               if ($row->user_id == 0) #Bug 16487
+                       return '';
+
                $userPage = Title::makeTitle( NS_USER, $row->user_name );
                $name = $this->getSkin()->link( $userPage, htmlspecialchars( $userPage->getText() ) );