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;
|
$wgCaptchaTriggers['contactpage'] = true;
|
||||||
|
|
||||||
== Costumization ==
|
== Customization ==
|
||||||
|
|
||||||
[[Special:Contact]] calls the default formular.
|
[[Special:Contact]] calls the default formular.
|
||||||
Pagetext: [[MediaWiki:contactpage-pagetext]]
|
Pagetext: [[MediaWiki:contactpage-pagetext]]
|
||||||
|
|
|
@ -44,7 +44,7 @@ class SpecialContact extends SpecialPage {
|
||||||
$action = $wgRequest->getVal( 'action' );
|
$action = $wgRequest->getVal( 'action' );
|
||||||
|
|
||||||
$nu = User::newFromName( $wgContactUser );
|
$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" );
|
wfDebug( "Target is invalid user or can't receive.\n" );
|
||||||
$wgOut->showErrorPage( 'noemailtitle', 'noemailtext' );
|
$wgOut->showErrorPage( 'noemailtitle', 'noemailtext' );
|
||||||
return;
|
return;
|
||||||
|
|
Loading…
Reference in New Issue