readme
This commit is contained in:
parent
20946756dd
commit
7291d036b3
22
README.md
22
README.md
|
@ -1,8 +1,18 @@
|
||||||
A better version of the classic contact form extension.
|
A better version of the classic contact form extension.
|
||||||
|
|
||||||
Config:
|
|
||||||
|
|
||||||
``php
|
|
||||||
|
# Install
|
||||||
|
|
||||||
|
1. ```
|
||||||
|
git clone https://git.dp15.us/dpanzer/ProtectedContactPage.git
|
||||||
|
```
|
||||||
|
|
||||||
|
2. Make sure you have set `$wgPasswordSender` and have set up SMTP.
|
||||||
|
|
||||||
|
3. Add to the bottom of `LocalSettings.php`:
|
||||||
|
|
||||||
|
```php
|
||||||
$wgReCaptchaSiteKey = 'you public key';
|
$wgReCaptchaSiteKey = 'you public key';
|
||||||
$wgReCaptchaSecretKey = 'your secret key';
|
$wgReCaptchaSecretKey = 'your secret key';
|
||||||
|
|
||||||
|
@ -24,4 +34,10 @@ $wgContactConfig['default'] = array(
|
||||||
'RLStyleModules' => array(),
|
'RLStyleModules' => array(),
|
||||||
'MustBeLoggedIn' => false,
|
'MustBeLoggedIn' => false,
|
||||||
);
|
);
|
||||||
``
|
```
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
# Usage
|
||||||
|
|
||||||
|
Go to `Special:Contact` to access the contact form.
|
Loading…
Reference in New Issue