http://www.mediawiki.org/wiki/Special:Code/MediaWiki/65405
Revision: 65405
Author: platonides
Date: 2010-04-21 17:33:17 +0000 (Wed, 21 Apr 2010)
Log Message:
-----------
(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
trunk/phase3/includes/specials/SpecialListusers.php
Modified: trunk/phase3/RELEASE-NOTES
===================================================================
--- trunk/phase3/RELEASE-NOTES 2010-04-21 16:29:29 UTC (rev 65404)
+++ trunk/phase3/RELEASE-NOTES 2010-04-21 17:33:17 UTC (rev 65405)
@@ -121,6 +121,8 @@
* (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
Modified: trunk/phase3/includes/specials/SpecialListusers.php
===================================================================
--- trunk/phase3/includes/specials/SpecialListusers.php 2010-04-21 16:29:29 UTC
(rev 65404)
+++ trunk/phase3/includes/specials/SpecialListusers.php 2010-04-21 17:33:17 UTC
(rev 65405)
@@ -120,6 +120,9 @@
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() ) );
_______________________________________________
MediaWiki-CVS mailing list
[email protected]
https://lists.wikimedia.org/mailman/listinfo/mediawiki-cvs