http://www.mediawiki.org/wiki/Special:Code/MediaWiki/89266
Revision: 89266
Author: reedy
Date: 2011-06-01 15:34:12 +0000 (Wed, 01 Jun 2011)
Log Message:
-----------
* (bug 28767) Internal error on Special:CentralAuth/username
Modified Paths:
--------------
trunk/extensions/CentralAuth/specials/SpecialCentralAuth.php
Modified: trunk/extensions/CentralAuth/specials/SpecialCentralAuth.php
===================================================================
--- trunk/extensions/CentralAuth/specials/SpecialCentralAuth.php
2011-06-01 15:31:51 UTC (rev 89265)
+++ trunk/extensions/CentralAuth/specials/SpecialCentralAuth.php
2011-06-01 15:34:12 UTC (rev 89266)
@@ -363,6 +363,12 @@
function listMergedWikiItem( $row ) {
global $wgLang;
+ if ( $row === null ) {
+ // https://bugzilla.wikimedia.org/show_bug.cgi?id=28767
+ // It seems sometimes local accounts aren't correctly
created
+ // Revisiting the wiki solves the issue
+ return '';
+ }
return '<tr>' .
( $this->mCanUnmerge ? '<td>' . $this->adminCheck(
$row['wiki'] ) . '</td>' : '' ) .
'<td>' . $this->foreignUserLink( $row['wiki'] ) .
'</td>' .
_______________________________________________
MediaWiki-CVS mailing list
[email protected]
https://lists.wikimedia.org/mailman/listinfo/mediawiki-cvs