From MediaWiki.org
Jump to: navigation, search
MediaWiki extensions manual
Crystal Clear action run.png

Release status: stable

Implementation User identity, Special page, Database
Description Collecting and verifying email addresses.
Author(s) Trevor Parscaltalk
MediaWiki 1.17+
Database changes Yes
License GPLv2
  • $wgEmailCaptureSendAutoResponse
  • $wgEmailCaptureAutoResponse
Hooks used

Translate the EmailCapture extension if it is available at translatewiki.net

Check usage and version matrix; code metrics


Open tasks · Report a bug

The EmailCapture extension allows to collect e-mail addresses, and allow users to verify them through e-mail. 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 e-mail 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 e-mail address, a verification code, and a verification boolean in a database table.


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.


  • Download and place the file(s) in a directory called EmailCapture in your extensions/ folder.
  • Add the following code at the bottom of your LocalSettings.php:
require_once "$IP/extensions/EmailCapture/EmailCapture.php";
  • Run the update script which will automatically create the necessary database tables that this extension needs.
  • YesY Done - Navigate to Special:Version on your wiki to verify that the extension is successfully installed.