Extension:MiniInvite

From MediaWiki.org
Jump to navigation Jump to search

Other languages:
English • ‎español • ‎polski • ‎नेपाली • ‎日本語
MediaWiki extensions manualManual:Extensions
Crystal Clear action run.svg
MiniInvite

Release status:Extension status beta

ImplementationTemplate:Extension#type Special page
Author(s)Template:Extension#username
Latest versionTemplate:Extension#version 2.1 (2016-04-01)
MediaWikiTemplate:Extension#mediawiki 1.31+
Database changesTemplate:Extension#needs-updatephp Yes
LicenseTemplate:Extension#license GNU General Public License 2.0 or later
Download
ExampleTemplate:Extension#example Development/Testing wiki on Wikimedia Labs
ParametersTemplate:Extension#parameters
  • $wgSendNewArticleToFriends
Hooks usedTemplate:Extension#hook
PageContentSaveCompleteManual:Hooks/PageContentSaveComplete
PageContentInsertCompleteManual:Hooks/PageContentInsertComplete
OutputPageBeforeHTMLManual:Hooks/OutputPageBeforeHTML

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

Check usage and version matrix.

IssuesPhabricator

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 SocialProfileExtension:SocialProfile and NewSignupPageExtension: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' );
    
  • YesY 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 $wgPasswordSenderManual:$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:BlogPageExtension: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.