Index: trunk/extensions/CentralAuth/SpecialCentralAuth.php |
— | — | @@ -601,8 +601,8 @@ |
602 | 602 | } |
603 | 603 | } |
604 | 604 | |
605 | | - // Should not happen. |
606 | | - throw new MWException( 'Failed to determine home wiki' ); |
| 605 | + // Home account can be renamed or unmerged |
| 606 | + return wfMsgHtml( 'centralauth-admin-nohome' ); |
607 | 607 | } |
608 | 608 | |
609 | 609 | function evaluateTotalEditcount() { |
Index: trunk/extensions/CentralAuth/CentralAuth.i18n.php |
— | — | @@ -146,6 +146,7 @@ |
147 | 147 | 'centralauth-admin-info-editcount' => 'Total editcount:', |
148 | 148 | 'centralauth-admin-info-locked' => 'Locked:', |
149 | 149 | 'centralauth-admin-info-hidden' => 'Hidden level:', |
| 150 | + 'centralauth-admin-nohome' => 'unable to determine', |
150 | 151 | 'centralauth-admin-yes' => 'yes', |
151 | 152 | 'centralauth-admin-no' => 'no', |
152 | 153 | 'centralauth-admin-hidden-list' => 'from public lists', |