A captcha-protected version of the classic ContactPage extension.
Go to file
Siebrand Mazeland 94c2abdf58 Localisation updates for extension special page aliases and magic words from translatewiki.net
* some non-essential language header eye candy was removed because these exports were made with the (slow!) magic-export.php, and not with the broken alias-export.php
2010-05-17 18:29:36 +00:00
ContactPage.alias.php Localisation updates for extension special page aliases and magic words from translatewiki.net 2010-05-17 18:29:36 +00:00
ContactPage.i18n.php Localisation updates for core and extension messages from translatewiki.net (2010-05-16 18:30:00 UTC) 2010-05-16 18:54:05 +00:00
ContactPage.php ContactPage: Add checkbox for IP address sending, checked by default for anons and unchecked by default for logged-in users. $wgContactIncludeIP = false; (default) still completely disables this feature, hiding the checkbox. 2010-03-28 13:23:42 +00:00
README Captchas for ContactPage 2007-10-13 11:41:44 +00:00
SpecialContact.php ContactPage: Add checkbox for IP address sending, checked by default for anons and unchecked by default for logged-in users. $wgContactIncludeIP = false; (default) still completely disables this feature, hiding the checkbox. 2010-03-28 13:23:42 +00:00
install.settings mail contact page for anon visitors 2007-02-12 21:50:29 +00:00

README

--------------------------------------------------------------------------
README for the ContactPage extension
Copyright © 2006 Daniel Kinzler
Licenses: GNU General Public Licence (GPL)
          GNU Free Documentation License (GFDL)
--------------------------------------------------------------------------

The ContactPage extension implements a contact form for visitors. It 
creates a special page Special:Contact, which is similar to
Special:Emailuser, but it has a fixed recipient, and can be used
anonymously.

<http://mediawiki.org/wiki/Extension:ContactPage>

The ContactPage extension was originally written by Daniel Kinzler in 2007
and is released under the GNU General Public Licence (GPL). It is based on
the code in SpecialEmailuser.php in the MediaWiki core.
The internationalization files contain contributions by several people;
they are mentioned in each file individually.


== Installing ==

Copy the ContactPage directory into the extensions folder of your 
MediaWiki installation. Then add the following lines to your
LocalSettings.php file (near the end):

  require_once( "$IP/extensions/ContactPage/ContactPage.php" );

  $wgContactUser = 'WikiAdmin';
  $wgContactSender = 'apache@' . $wgServerName;
  $wgContactSenderName = 'Contact Form on ' . $wgSitename;


== Configuration ==

$wgContactUser must be the name of a registered wiki user, who has 
supplied an email address, has user-to-user email enabled, and has
confirmed his/her email address if that is required on this wiki
(see $wgEmailAuthentication).

$wgContactSender must be the email address used as the sender of the
contact email. Depending on the setup of your web host, this may have to
be an existing mail account.

$wgContactSenderName is the name associated with the contact sender.
This will be shown in the recipient's email program.

If you are using the ConfirmEdit extension (captchas), you can require
a captcha test for sending contact messages by using the following:

   $wgCaptchaTriggers['contactpage'] = true;