Extension:Semantic Signup

Description
This extension tweaks user registration process in order to make users populate their user pages with semantic data at registration time. Whenever the user registration form is requested the user is redirected to the Semantic Signup special page where he has to enter the usual account data and some additional information into a semantic form. When the form is submitted, the usual account information is used to register the new user account and a new User: page is populated with the additional data.

Requirements
SemanticSignup requires:


 * MediaWiki 1.16 or above
 * Semantic MediaWiki 1.5 or above. 1.6 or above recommended.
 * Semantic Forms 1.9 or above. 2.2 or above recommended.
 * PHP 5.2 or above

Download
The most recent version of SemanticSignup can be cloned from gerrit, and contains fixes for recent versions of Semantic Forms:

git clone https://gerrit.wikimedia.org/r/p/mediawiki/extensions/SemanticSignup.git

Installation
Insert the following lines into your LocalSettings.php after the inclusion of Semantic Forms:

Getting started
Create a semantic form for user pages (see the SemanticForms manual for details). Use the function to insert the user account input fields (e. g. username password and all that stuff) into this form - this is required for the form to be suitable for account registration.

You will also need to set the form and bot name settings, as described in the configuration section below. Not doing this will result in errors.

Configuration
Configuration of SemanticSignup is done by assigning to $egSemanticSignupSettings in your LocalSettings.php file. These statements need to be placed AFTER the inclusion of SemanticSignup. The options are listed below and their default is set in the SemanticSignup settings file. You should NOT modify the settings file, but can have a look at it to get an idea of how to use the settings, in case the below descriptions do not suffice.

Require name
Require entering a real name during the registration process?

Default:

Form name
The name of the form you want to use for signup.

Default:

Example:

Bot name
The name of the user to create the user page with. This user needs sufficient priviliges to create new pages in the User: namespace.

Default:

Example:

Internationalization
SemanticSignup is fully internationalized. Translation of SemanticSignup messages is done through translatewiki.net. The translation for this extension can be found here. To add language values or change existing ones, you should create an account on translatewiki.net, then request permission from the administrators to translate a certain language or languages on this page (this is a very simple process). Once you have permission for a given language, you can log in and add or edit whatever messages you want to in that language.