Jump to content

Extension:MiniInvite

From mediawiki.org
MediaWiki extensions manual
MiniInvite
Release status: beta
Implementation Special page
Author(s)
Latest version 2.1 (2016-04-01)
MediaWiki 1.39+
Database changes Yes
License GNU General Public License 2.0 or later
Download
  • $wgSendNewArticleToFriends
Quarterly downloads 0
Translate the MiniInvite extension if it is available at translatewiki.net
Issues Open tasks · Report a bug

The MiniInvite extension adds two new special pages, Special:InviteEmail and Special:EmailNewArticle, for sending out invitation emails to your friends.

When used together with the SocialProfile and NewSignupPage extensions, it is possible to gain points by referring friends to the site via links generated by this extension.

Installation

[edit]
  • Download and move the extracted MiniInvite 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/MiniInvite
  • Add the following code at the bottom of your LocalSettings.php file:
    wfLoadExtension( 'MiniInvite' );
    
  • Yes Done – Navigate to Special:Version on your wiki to verify that the extension is successfully installed.

Configuration parameters

[edit]
Parameter name Default value Description
$wgEmailFrom $wgPasswordSender The email address where invite emails are sent out from
$wgSendNewArticleToFriends false When set to true, after a user has created a page in the blog category (see Extension:BlogPage ), they are redirected to Special:EmailNewArticle, prompting them to email their friends about the newly-created blog article.
This likely doesn't work properly at the moment! See gerrit:166584 for further details.