Extension:MiniInvite

From MediaWiki.org
Jump to: navigation, search

Other languages:
English • ‎español • ‎日本語 • ‎नेपाली • ‎polski
MediaWiki extensions manualManual:Extensions
Crystal Clear action run.png
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.30+
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.
Note Note: This likely doesn't work properly at the moment! See gerrit:166584 for further details.


Social toolsSocial tools
SocialProfileExtension:SocialProfile OverviewExtension:SocialProfileDeveloper infoExtension:SocialProfile/For developersScreenshotsExtension:SocialProfile/ScreenshotsHistorySocial tools#History
Other social extensions Automatic Board WelcomeExtension:Automatic Board WelcomeBlogPageExtension:BlogPageChallengeExtension:ChallengeFanBoxesExtension:FanBoxesMiniInviteExtension:MiniInviteNewUsersListExtension:NewUsersListPictureGameExtension:PictureGamePollNYExtension:PollNYQuizGameExtension:QuizGameRandomFeaturedUserExtension:RandomFeaturedUserRandomGameUnitExtension:RandomGameUnitRandomUsersWithAvatarsExtension:RandomUsersWithAvatarsSiteMetricsExtension:SiteMetricsSiteScoutExtension:SiteScoutSportsTeamsExtension:SportsTeamsUserStatusExtension:UserStatusUserWelcomeExtension:UserWelcome
Other related extensions

(which do not depend on SocialProfile)

AnswersExtension:AnswersAJAXPollExtension:AJAXPollCommentsExtension:CommentsImageRatingExtension:ImageRatingLinkFilterExtension:LinkFilterMediaWikiChatExtension:MediaWikiChatNewSignupPageExtension:NewSignupPageTopListsExtension:TopListsVideoExtension:VideoVoteNYExtension:VoteNYWikiForumExtension:WikiForumWikiTextLoggedInOutExtension:WikiTextLoggedInOut