Utilizador:LBelo (WMB)/email.js
Nota: Depois de publicar, poderá ter de contornar a cache do seu navegador para ver as alterações.
- Firefox / Safari: Pressione Shift enquanto clica Recarregar, ou pressione Ctrl-F5 ou Ctrl-R (⌘-R no Mac)
- Google Chrome: Pressione Ctrl-Shift-R (⌘-Shift-R no Mac)
- Internet Explorer / Edge: Pressione Ctrl enquanto clica Recarregar, ou pressione Ctrl-F5
- Opera: Pressione Ctrl-F5.
wfLoadExtension( 'ContactPage' );
$wgContactConfig['default'] = [
'RecipientUser' => 'LBelo (WMB)', // 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' => true, // Check if the user is logged in before rendering the form. Either "true" or "false" as required
'AdditionalFields' => [
'Text' => [
'label-message' => 'emailmessage',
'type' => 'textarea',
'rows' => 20,
'required' => true, // Either "true" or "false" as required
],
],
'DisplayFormat' => 'table', // See HTMLForm documentation for available values.
'RLModules' => [], // Resource loader modules to add to the form display page.
'RLStyleModules' => [] // Resource loader CSS modules to add to the form display page.
];