Extension:NewSignupPage

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 out to give 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

 * 1) Dump the files into $IP/extensions/NewSignupPage
 * 2) Add require_once("$IP/extensions/NewSignupPage/NewSignupPage.php"); into the wiki's LocalSettings.php
 * 3) If you set $wgRegisterTrack = true;, you need to create the user_register_track table in your database; you can do this from command line with php maintenance/sql.php extensions/NewSignupPage/user_register_track.sql
 * 4) Installation can now be verified through Special:Version

User rights
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

 * $wgUserStatsPointValues['referral_complete']</tt> &mdash; set this to something to give out points for referring a new user successfully to the site.

Parameters

 * $wgAutoAddFriendOnInvite</tt> &mdash; if the new user was referred to the site by an existing user, should we make them friends automatically? Defaults to false</tt>.
 * $wgRegisterTrack</tt> &mdash; whether to track registrations into the user_register_track</tt> DB table. Defaults to false</tt>.
 * $wgForceNewSignupPageInitialization</tt> &mdash; initialize the extension, even if InviteEmail or UserRelationship classes do not exist? Useful for testing.