Jump to content

Extension:InviteSignup: Difference between revisions

From mediawiki.org
Content deleted Content added
No edit summary
mNo edit summary
Line 5: Line 5:
|username = Nikerabbit
|username = Nikerabbit
|author = Niklas Laxström
|author = Niklas Laxström
|description = <translate>Allows to invite users to signup to a closed wiki</translate>
|description = Allows to invite users to signup to a closed wiki
|image = InviteSignup.png
|image = InviteSignup.png
|version = 1.0.0+2020-05-06
|version = 1.0.0+2020-05-06
Line 16: Line 16:
|phabricator = MediaWiki-extensions-InviteSignup
|phabricator = MediaWiki-extensions-InviteSignup
}}
}}
<translate>The '''InviteSignup''' extensions allows account creation to be offered to a user on a closed wiki where it's restricted.</translate>
The '''InviteSignup''' extensions allows account creation to be offered to a user on a closed wiki where it's restricted.


<translate>The extension adds a "Special:InviteSignup" special page, available to users with <code>invitesignup</code> permission.</translate>
The extension adds a "Special:InviteSignup" special page, available to users with <code>invitesignup</code> permission.
* <translate>The inviter, from this page, by entering just an e-mail address, can quickly invite a single person to create an account on the wiki.</translate>
* The inviter, from this page, by entering just an e-mail address, can quickly invite a single person to create an account on the wiki.
* <translate>The person can then set a username and password, confirming the creation of the account, which is logged; until then, no account is created.</translate>
* The person can then set a username and password, confirming the creation of the account, which is logged; until then, no account is created.
* <translate>The inviter can optionally set additional user groups to which the account will be added automatically after creation.</translate>
* The inviter can optionally set additional user groups to which the account will be added automatically after creation.


<translate>
==Installation==
==Installation==
</translate>
{{ExtensionInstall
{{ExtensionInstall
|repo-name=InviteSignup
|repo-name=InviteSignup
Line 39: Line 37:
}}
}}


<translate>
== See also ==
== See also ==
* [[Extension:ConfirmAccount]] – where the account is requested by the user rather than offered.
</translate>
* [[m:Help:Logging in#Creating an account]] – [[Special:CreateAccount]] allows creation by e-mail, but requires a username to be set because creation is immediate.
* [[Extension:ConfirmAccount]] – <translate>where the account is requested by the user rather than offered.</translate>
* Some other extensions focus on mass account creation.
* [[m:Help:Logging in#Creating an account]] – [[Special:CreateAccount]] <translate>allows creation by e-mail, but requires a username to be set because creation is immediate.</translate>
* <translate>Some other extensions focus on mass account creation.
</translate>

Revision as of 03:50, 13 September 2021

MediaWiki extensions manual
InviteSignup
Release status: stable
Implementation User identity , Special page
Description Allows to invite users to signup to a closed wiki
Author(s) Niklas Laxström (Nikerabbittalk)
Latest version 1.0.0+2020-05-06
MediaWiki 1.32+
Database changes Yes
Composer mediawiki/invite-signup
  • $wgInviteSignupHash
  • $wgISGroups
  • invitesignup
Licence GNU General Public License 2.0 or later
Download
Translate the InviteSignup extension if it is available at translatewiki.net
Issues Open tasks · Report a bug

The InviteSignup extensions allows account creation to be offered to a user on a closed wiki where it's restricted.

The extension adds a "Special:InviteSignup" special page, available to users with invitesignup permission.

  • The inviter, from this page, by entering just an e-mail address, can quickly invite a single person to create an account on the wiki.
  • The person can then set a username and password, confirming the creation of the account, which is logged; until then, no account is created.
  • The inviter can optionally set additional user groups to which the account will be added automatically after creation.

Installation

  • Download and move the extracted InviteSignup folder to your extensions/ directory.
    Developers and code contributors should install the extension from Git instead, using:
    cd extensions/
    git clone https://gerrit.wikimedia.org/r/mediawiki/extensions/InviteSignup
    
  • Add the following code at the bottom of your LocalSettings.php file:
    wfLoadExtension( 'InviteSignup' );
    
  • Run the update script which will automatically create the necessary database tables that this extension needs.
  • You will need to give the invitesignup permission to at least one user group. To have administrators be able to do the inviting, for instance, add the following to LocalSettings.php:
$wgGroupPermissions['sysop']['invitesignup'] = true;
  • You can also set the variable $wgISGroups to an array of user groups. When inviting, you can mark to which groups the invited user will be added automatically. For example, with the following setting, you are able to invite 1) normal users 2) translators 3) sysops.
$wgISGroups = [ 'translator', 'sysop' ];
  • Yes Done – Navigate to Special:Version on your wiki to verify that the extension is successfully installed.

See also