Index: trunk/extensions/CentralAuth/SpecialMergeAccount.php |
— | — | @@ -27,6 +27,12 @@ |
28 | 28 | |
29 | 29 | return; |
30 | 30 | } |
| 31 | + |
| 32 | + if ( wfReadOnly() ) { |
| 33 | + $wgOut->setPagetitle( wfMsg( 'readonly' ) ); |
| 34 | + $wgOut->addWikiMsg( 'readonlytext', wfReadOnlyReason() ); |
| 35 | + return; |
| 36 | + } |
31 | 37 | |
32 | 38 | global $wgUser, $wgRequest; |
33 | 39 | $this->mUserName = $wgUser->getName(); |