Open main menu

Extension:MailChimpSubscription

MediaWiki extensions manual
OOjs UI icon advanced.svg
MailChimpSubscription
Release status: beta
Implementation User interface, MyWiki
Description Allows users to subscribe to MailChimp List using API by adding a subscription checkbox to account creation form
Author(s) (Drappmdtalk)
Latest version 1.0 (2013-10-31)
MediaWiki 1.21+
PHP 5+
Database changes No
License GPL
Download Available from external source
Example wikem.org
  • $wgMailChimpSubscription
Translate the MailChimpSubscription extension if it is available at translatewiki.net
Check usage and version matrix.

The MailChimpSubscription extension integrates MediaWiki registration page with MailChimp API.

InstallationEdit

  • Download and place the file(s) in a directory called MailChimpSubscription in your extensions/ folder.
  • Add the following code at the bottom of your LocalSettings.php:
    require_once "$IP/extensions/MailChimpSubscription/MailChimpSubscription.php";
    
  •   Done – Navigate to Special:Version on your wiki to verify that the extension is successfully installed.

ConfigurationEdit

Text that will be displayed near subscription checkbox
$wgMailChimpSubscription['fieldText'] = 'Send me the newsletter (max 1 email a month)';

API key from your MailChimp account
$wgMailChimpSubscription['apiKey'] = 'put you API key here';

Your MailChimp list id (to which user will be subscribed)
$wgMailChimpSubscription['listId'] = 'put your list id';