Extension:MiniInvite

From MediaWiki.org
Jump to navigation Jump to search

Other languages:
English • ‎español • ‎polski • ‎नेपाली • ‎日本語
MediaWiki extensions manual
Crystal Clear action run.svg
MiniInvite
Release status: beta
Implementation Special page
Author(s)
Latest version 2.1 (2016-04-01)
MediaWiki 1.31+
Database changes Yes
License GNU General Public License 2.0 or later
Download
Example Development/Testing wiki on Wikimedia Labs
Parameters
  • $wgSendNewArticleToFriends
Hooks used
PageContentSaveComplete
PageContentInsertComplete
OutputPageBeforeHTML
Translate the MiniInvite extension if it is available at translatewiki.net
Check usage and version matrix.
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 place the file(s) in a directory called MiniInvite in your extensions/ folder.
  • Add the following code at the bottom of your LocalSettings.php:
    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.