summaryrefslogtreecommitdiff
path: root/www/wiki/LocalSettings.Reevo.php
diff options
context:
space:
mode:
Diffstat (limited to 'www/wiki/LocalSettings.Reevo.php')
-rw-r--r--www/wiki/LocalSettings.Reevo.php23
1 files changed, 23 insertions, 0 deletions
diff --git a/www/wiki/LocalSettings.Reevo.php b/www/wiki/LocalSettings.Reevo.php
index 7b433f51..0f4062c0 100644
--- a/www/wiki/LocalSettings.Reevo.php
+++ b/www/wiki/LocalSettings.Reevo.php
@@ -410,6 +410,29 @@ $wgNewUserNotifEmailTargets = array(
'sysadmins@reevo.org'
);
+## ContactPage
+wfLoadExtension( 'ContactPage' );
+$wgContactConfig['default'] = array(
+ 'RecipientUser' => 'Yaco', // Must be the name of a valid account which also has a verified e-mail-address added to it.
+ 'SenderName' => 'Contact Form on ' . $wgSitename, // "Contact Form on" needs to be translated
+ 'SenderEmail' => null, // Defaults to $wgPasswordSender, may be changed as required
+ 'RequireDetails' => true, // Either "true" or "false" as required
+ 'IncludeIP' => true, // Either "true" or "false" as required
+ 'MustBeLoggedIn' => false, // Check if the user is logged in before rendering the form
+ 'AdditionalFields' => array(
+ 'Text' => array(
+ 'label-message' => 'emailmessage',
+ 'type' => 'textarea',
+ 'rows' => 20,
+ 'required' => true, // Either "true" or "false" as required
+ ),
+ ),
+ // Added in MW 1.26
+ 'DisplayFormat' => 'table', // See HTMLForm documentation for available values.
+ 'RLModules' => array(), // Resource loader modules to add to the form display page.
+ 'RLStyleModules' => array(), // Resource loader CSS modules to add to the form display page.
+);
+
###### Extensiones propias
## ImportarPerfil