Extension:Minimum Name Length
![]() Release status: stableCategory:Stable extensions |
|
---|---|
Implementation | User identityCategory:User identity extensions |
Description | Allows to enforce a minimum username length during account creation |
Author(s) | Rob Church (Robchurchtalk) |
Latest version | 3.0.0 (2019-06-04) |
MediaWiki | 1.27+Category:Extensions with manual MediaWiki version |
PHP | 5.3+ |
Database changes | No |
License | BSD 2-clause "Simplified" License |
Download | Category:Extensions in Wikimedia version control README CHANGELOG |
|
|
Translate the Minimum Name Length extension if it is available at translatewiki.net |
The Minimum Name Length extension allows to set a minimum length for user names which will be enforced during account creation.
Installation
- Download and move the extracted
MinimumNameLength
folder to yourextensions/
directory.
Developers and code contributors should install the extension from Git instead, using:cd extensions/
git clone https://gerrit.wikimedia.org/r/mediawiki/extensions/MinimumNameLength - Add the following code at the bottom of your LocalSettings.php file:
wfLoadExtension( 'MinimumNameLength' );
- Configure as required
Done – Navigate to Special:Version on your wiki to verify that the extension is successfully installed.
Configuration
To configure the minimum name length for a username, set $wgMinimumUsernameLength
in the "LocalSettings.php" file, after the call to include the extension as described in the installation section, e.g.
$wgMinimumUsernameLength = 8;
10
is the default setting. In case you are fine with this you do not need to do anything.
Category:All extensions
Category:BSD licensed extensions
Category:Extensions in Wikimedia version control
Category:Extensions with manual MediaWiki version
Category:Extensions without a compatibility policy
Category:Extensions without an image
Category:Stable extensions
Category:User identity extensions