Extension:NewSignupPage
|
NewSignupPage Release status: stable |
|||
|---|---|---|---|
| Implementation | MyWiki | ||
| Description | Enhances MediaWiki's default signup page | ||
| Author(s) | Jack Phoenix | ||
| Latest version | 0.9.1 (2016-12-17) | ||
| MediaWiki | 1.28+ | ||
| License | GNU General Public License 2.0 or later | ||
| Download |
Changelog |
||
| Example | Any ShoutWiki site | ||
|
|||
|
|||
|
|||
|
Translate the NewSignupPage extension if it is available at translatewiki.net |
|||
| Check usage and version matrix. | |||
| Open tasks · Report a bug | |||
The NewSignupPage extension enhances MediaWiki's default signup page, Special:UserLogin/signup, by requiring users to check a checkbox stating that they've read and understood the site's Terms of Service and Privacy Policy.
In addition to that, the extension is compatible with social tools. If a wiki's admins choose to give out points for recruiting new users, set $wgRegisterTrack to true (and make sure that user_register_track table exists on that wiki's database beforehand!) and you're done.
Installation[edit]
- Download and place the file(s) in a directory called
NewSignupPagein yourextensions/folder. - Add the following code at the bottom of your LocalSettings.php:
wfLoadExtension( 'NewSignupPage' );
- If you set
$wgRegisterTrack = true;, you need to create theuser_register_tracktable in your database; you can do this from command line withphp maintenance/sql.php extensions/NewSignupPage/user_register_track.sql
Done - Navigate to Special:Version on your wiki to verify that the extension is successfully installed.
User rights[edit]
This extension adds a new user right, bypasstoscheck, which by default isn't given to any group. Users with this right can create new accounts without checking the "I accept the site's Terms of Service" checkbox.
User points[edit]
$wgUserStatsPointValues['referral_complete']— set this to something to give out points for referring a new user successfully to the site.
Parameters[edit]
$wgAutoAddFriendOnInvite— if the new user was referred to the site by an existing user, should we make them friends automatically? Defaults tofalse.$wgRegisterTrack— whether to track registrations into theuser_register_trackDB table. Defaults tofalse.$wgForceNewSignupPageInitialization— initialize the extension, even if InviteEmail or UserRelationship classes do not exist? Useful for testing.
| Social tools | |
|---|---|
| SocialProfile | Overview • Developer info • Screenshots • History |
| Other social extensions | Automatic Board Welcome • BlogPage • Challenge • FanBoxes • MiniInvite • NewUsersList • PictureGame • PollNY • QuizGame • RandomFeaturedUser • RandomGameUnit • RandomUsersWithAvatars • SiteMetrics • SiteScout • SportsTeams • UserStatus • UserWelcome |
| Other related extensions (which do not depend on SocialProfile) |
Answers • AJAXPoll • Comments • ImageRating • LinkFilter • MediaWikiChat • NewSignupPage • Video • VoteNY • WikiForum • WikiTextLoggedInOut |
See also[edit]
- ConfirmAccount (Adds ToS link & checkbox to registration)