Jump to content

Extension:SignupAPI: Difference between revisions

From mediawiki.org
Content deleted Content added
add
No edit summary
 
(2 intermediate revisions by the same user not shown)
Line 1: Line 1:
{{archived extension|3104209|reason=broken extension and unavailable files, the only ones that are in the github repository is for mediawiki 1.19 and does not support recent versions of mediawiki}}
{{ {{TNTN|Extension}}
|name = SignupAPI
|status = unstable
|type1 = user activity
|type2 = ajax
|type3 = special
|type4 = api
|type5 = hook
|type6 = database
|hook1 = LoadExtensionSchemaUpdates
|hook2 = SignupForm
|username = Akshay.agarwal
|author = <!-- add only if different from user name -->
|description = It creates a special page that cleans up SpecialUserLogin from signup related stuff, adds an API for signup, adds sourcetracking for account creation & AJAX-ifies the signup form
|version = 1.0
|mediawiki = 1.19
|php = 5.0
|needs-updatephp = yes
|license = GPL
|download ={{ {{TNTN|WikimediaDownload}} |SignupAPI|disabled=1}}
Note: no [[Localisation#Translation resources|localisation]] updates provided by [[translatewiki.net]].
|parameters = $wgSignupAPIUseAjax, $wgSignupAPISourceCreation
|bugzilla = SignupAPI
}}

==What can this extension do?==
It creates a special page that cleans up SpecialUserLogin from signup related stuff, adds an API for signup, adds sourcetracking for account creation & AJAX-ifies the signup form.

==Installation==
{{TNT|ExtensionInstall
| localsettings=
$wgUseAjax = true;
$wgSignupAPIUseAjax = true;
$wgSignupAPISourceTracking = true;
$wgUseCombinedLoginLink = false;
| db-update=1
}}

===Configuration parameters===

;$wgUseAjax: This parameter is required to use AJAX & is set to true by default in MediaWiki 1.17 & above

;$wgSignupAPIUseAjax: If set to true, the extension will AJAX-ify the signup form & facilitate the validation of username, password, retype & email dynamically before submitting the form

;$wgSignupAPISourceCreation: If set to true, the extension will add the source tracking parameters to the "Create account" link & on successful signup will store them inside the sourcetracking table

;$wgUseCombinedLoginLink: This parameter is used to display separate links for Login & Create account instead of the combined "Login/Create account" link.

==Screenshot==
[[File:SignupAPI-Extension.png]]

==See also==
* [[Requests for comment/Account_creation]]
* [[Extension:E3Experiments]] improves the signup form "[[account creation user experience]]", also using AJAX validation.
* {{gerrit|18127}} adds an account creation API to MediaWiki core

[[Category:Login extensions{{#translation:}}]]

Latest revision as of 23:58, 10 May 2019