Jump to content

Extension:EmailCapture

From mediawiki.org
MediaWiki extensions manual
EmailCapture
Release status: stable
Implementation User identity , Special page , Database
Description Collecting and verifying email addresses.
Author(s) Trevor Parscaltalk
Latest version 0.5.0
MediaWiki 1.17+
Database changes Yes
License GNU General Public License 2.0 or later
Download
  • $wgEmailCaptureAutoResponse
  • $wgEmailCaptureSendAutoResponse
Quarterly downloads 0
Translate the EmailCapture extension if it is available at translatewiki.net

The EmailCapture extension allows users to collect e-mail addresses, and allow users to verify them through email. This code is nearly complete, but totally untested.

This was designed for use with the ArticleFeedback extension. The idea is that members of the Wikimedia Community Department can collect email addresses (largely of people without user accounts) in order to contact them in the future about creating an account, editing an article, etc. The extension stores the individual's email address, a verification code, and a verification boolean in a database table.

Feedback

[edit]

Open tickets in Wikimedia's BugZilla under the "ArticleFeedback" component in the "MediaWiki extensions" product. Be sure to include "[EmailCapture]" in front of the bug summary.

Installation

[edit]
  • Download and move the extracted EmailCapture folder to your extensions/ directory.
    Developers and code contributors should install the extension from Git instead, using:cd extensions/
    git clone https://gerrit.wikimedia.org/r/mediawiki/extensions/EmailCapture
  • Add the following code at the bottom of your LocalSettings.php file:
    wfLoadExtension( 'EmailCapture' );
    
  • Run the update script which will automatically create the necessary database tables that this extension needs.
  • Yes Done – Navigate to Special:Version on your wiki to verify that the extension is successfully installed.