Follow-up r76660: typos per CR
This commit is contained in:
parent
f4b8681f22
commit
9ff6db3629
2
README
2
README
|
@ -51,7 +51,7 @@ a captcha test for sending contact messages by using the following:
|
|||
|
||||
$wgCaptchaTriggers['contactpage'] = true;
|
||||
|
||||
== Costumization ==
|
||||
== Customization ==
|
||||
|
||||
[[Special:Contact]] calls the default formular.
|
||||
Pagetext: [[MediaWiki:contactpage-pagetext]]
|
||||
|
|
|
@ -44,7 +44,7 @@ class SpecialContact extends SpecialPage {
|
|||
$action = $wgRequest->getVal( 'action' );
|
||||
|
||||
$nu = User::newFromName( $wgContactUser );
|
||||
if( is_null( $nu ) || !$nu->canReceiveEmail() ) {
|
||||
if( is_null( $nu ) || $nu->canReceiveEmail() ) {
|
||||
wfDebug( "Target is invalid user or can't receive.\n" );
|
||||
$wgOut->showErrorPage( 'noemailtitle', 'noemailtext' );
|
||||
return;
|
||||
|
|
Loading…
Reference in New Issue