diff options
author | Yaco <franco@reevo.org> | 2019-10-08 11:21:39 -0300 |
---|---|---|
committer | Yaco <franco@reevo.org> | 2019-10-08 11:21:39 -0300 |
commit | af92be717a03ea9b95df6009314ab279ba765e98 (patch) | |
tree | 4181440998c50916860e89cfc02ddfc7309bebba /www/wiki/LocalSettings.Reevo.php | |
parent | 2cbe322e2a4843f6acb39be0ddb991ce8765bca9 (diff) |
agrega extension ContactPage
Diffstat (limited to 'www/wiki/LocalSettings.Reevo.php')
-rw-r--r-- | www/wiki/LocalSettings.Reevo.php | 23 |
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 |