Extension:EmailCapture

From mediawiki.org
Jump to navigation Jump to search
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
Translate the EmailCapture extension if it is available at translatewiki.net

Check usage and version matrix.

Issues 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.

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 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.
  •  Done – Navigate to Special:Version on your wiki to verify that the extension is successfully installed.
{"cc_re__cc_re__cc_by_sa_3_0": ["after-portlet-lang\"><span class=\"wb-langlinks-add wb-langlinks-link\"><a href=\"https://www.wikidata.org/wiki/Special:EntityPage/Q21676340#sitelinks-wikipedia\" title=\"Add interlanguage links\" class=\"wbc-editpage\">Add links</a></span></div>\n\t</div>\n</nav>\n\n</div>\n\n</div>\n<footer id=\"footer\" class=\"mw-footer\" role=\"contentinfo\" >\n\t<ul id=\"footer-info\" >\n\t<li id=\"footer-info-lastmod\"> This page was last edited on 7 June 2020, at 01:44.</li>\n\t<li id=\"footer-info-copyright\">Text is available under the <a href=\"https://creativecommons.org/licenses/by-sa/3.0/\">Creative Commons Attribution-ShareAlike License</a>;\nadditional terms may apply.\nSee <a href=\"https://foundation.wikimedia.org/wiki/Terms_of_Use\">Terms of Use</a> for details.</li>\n</ul>\n\n\t<ul id=\"footer-places\" >\n\t<li id=\"footer-places-privacy\"><a href=\"https://foundation.wikimedia.org/wiki/Privacy_policy\" class=\"extiw\" title=\"wmf:Privacy policy\">Privacy policy</a></li>\n\t<li id=\"footer-places-about\"><a href=\"/wiki/Project:About\" title=\"Project:About\">About MediaWiki.org</a></li>\n\t<li id=\"footer"], "copyright__copyright__copyright": ["of the bug summary.\n\nInstallation[edit]\n\n  \u2022 Download and place the file(s) in a directory called EmailCapture in your extensions/ folder.\n  \u2022 Add the following code at the bottom of your LocalSettings.php:\n    require_once \"$IP/extensions/EmailCapture/EmailCapture.php\";\n    \n  \u2022 Run the update script which will automatically create the necessary database tables that this extension needs.\n  \u2022 \u00a0Done \u2013 Navigate to Special:Version on your wiki to verify that the extension is successfully installed.", "of the bug summary.\n\nInstallation[edit]\n\n  \u2022 Download and place the file(s) in a directory called EmailCapture in your extensions/ folder.\n  \u2022 Add the following code at the bottom of your LocalSettings.php:\n    require_once \"$IP/extensions/EmailCapture/EmailCapture.php\";\n    \n  \u2022 Run the update script which will automatically create the necessary database tables that this extension needs.\n  \u2022 \u00a0Done \u2013 Navigate to Special:Version on your wiki to verify that the extension is successfully installed."]}